Skip to content

Commit b47d498

Browse files
Morris HafnerAerialMantis
authored andcommitted
Remove PKGBUILD, add reference to Arch Linux package
1 parent 1042ade commit b47d498

File tree

2 files changed

+13
-69
lines changed

2 files changed

+13
-69
lines changed

PKGBUILD

Lines changed: 0 additions & 56 deletions
This file was deleted.

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ pkg-config target-selector --cflags --libs
2929
</pre>
3030
</td>
3131
</tr>
32+
<tr>
33+
<td>
34+
<b>Arch Linux AUR</b><br>
35+
<img alt="AUR version" src="https://img.shields.io/aur/version/sycl-info-git?label=sycl-info-git&style=flat-square">
36+
</td>
37+
<td>
38+
<pre>yay -S sycl-info-git</pre>
39+
</td>
40+
</tr>
3241
</table>
3342

3443
### Using sycl-info
@@ -40,15 +49,15 @@ This is also generated as an HTML and additionally as a man page on Linux.
4049
You can find the generated html document here:
4150

4251
```
43-
<sycl_info_install_dir>/package/share/doc/sycl-info.1.html
52+
<sycl_info_install_dir>/share/doc/sycl-info.1.html
4453
```
4554

4655
#### Linux:
4756

4857
On Linux you can view the man page by doing:
4958

5059
```
51-
man <sycl_info_install_dir>/package/share/man/man1/sycl-info.1
60+
man <sycl_info_install_dir>/share/man/man1/sycl-info.1
5261
```
5362

5463
## Building
@@ -78,7 +87,7 @@ conan package sycl-info -bf build/ -pf install/
7887

7988
### Plain CMake
8089

81-
For an example of how a complete script looks like refer to the PKGBUILD.
90+
For an example of how a complete script looks like refer to the [PKGBUILD on the AUR](https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=sycl-info-git).
8291

8392
#### Dependencies
8493

@@ -106,7 +115,7 @@ git clone https://github.com/bfgroup/Lyra Lyra
106115
git clone https://github.com/onqtam/doctest doctest # Only needed for the tests
107116
gem install ronn # Only needed to build the man page
108117
cp -r OpenCL-Headers/CL install/include/
109-
cp -r Lyra/include/lyra install/include
118+
cp -r Lyra/include/lyra install/include/
110119

111120
for dep in OpenCL-ICD-Loader json doctest; do
112121
mkdir ${dep}-build
@@ -127,15 +136,6 @@ cmake -S sycl-info -B build \
127136
cmake --build build/ --target install
128137
```
129138

130-
### Arch Linux
131-
132-
Note that this PKGBUILD serves a full example of how the project is supposed to
133-
be packaged for a Linux distribution and will be moved to the AUR in the future.
134-
135-
```bash
136-
makepkg -si
137-
```
138-
139139
## Packaging
140140

141141
After sycl-info is built it can be packaged into a `.deb`, `.rpm`, or a tarball using CPack:

0 commit comments

Comments
 (0)