diff options
Diffstat (limited to 'elementary-icon-theme-git')
-rw-r--r-- | elementary-icon-theme-git/.SRCINFO | 20 | ||||
-rw-r--r-- | elementary-icon-theme-git/PKGBUILD | 47 |
2 files changed, 67 insertions, 0 deletions
diff --git a/elementary-icon-theme-git/.SRCINFO b/elementary-icon-theme-git/.SRCINFO new file mode 100644 index 0000000..ab34fbd --- /dev/null +++ b/elementary-icon-theme-git/.SRCINFO | |||
@@ -0,0 +1,20 @@ | |||
1 | pkgbase = elementary-icon-theme-git | ||
2 | pkgdesc = Named, vector icons for elementary OS | ||
3 | pkgver = 6.0.0.r4.g9c8e5b0f | ||
4 | pkgrel = 1 | ||
5 | url = https://github.com/elementary/icons | ||
6 | arch = any | ||
7 | groups = pantheon-unstable | ||
8 | license = GPL3 | ||
9 | makedepends = git | ||
10 | makedepends = meson | ||
11 | makedepends = inkscape | ||
12 | makedepends = xorg-xcursorgen | ||
13 | depends = hicolor-icon-theme | ||
14 | provides = elementary-icon-theme | ||
15 | conflicts = elementary-icon-theme | ||
16 | options = !emptydirs | ||
17 | source = elementary-icon-theme::git+https://github.com/elementary/icons.git | ||
18 | sha256sums = SKIP | ||
19 | |||
20 | pkgname = elementary-icon-theme-git | ||
diff --git a/elementary-icon-theme-git/PKGBUILD b/elementary-icon-theme-git/PKGBUILD new file mode 100644 index 0000000..bd99ec9 --- /dev/null +++ b/elementary-icon-theme-git/PKGBUILD | |||
@@ -0,0 +1,47 @@ | |||
1 | # Maintainer: Yigit Sever <yigit at yigitsever dot com> | ||
2 | # Contributor: Dimitris Kiziridis <ragouel at outlook dot com> | ||
3 | # Contributor: Maxime Gauduin <[email protected]> | ||
4 | |||
5 | pkgname=elementary-icon-theme-git | ||
6 | pkgver=6.0.0.r4.g9c8e5b0f | ||
7 | pkgrel=1 | ||
8 | pkgdesc='Named, vector icons for elementary OS' | ||
9 | arch=('any') | ||
10 | url='https://github.com/elementary/icons' | ||
11 | license=('GPL3') | ||
12 | groups=('pantheon-unstable') | ||
13 | depends=('hicolor-icon-theme') | ||
14 | makedepends=('git' 'meson' 'inkscape' 'xorg-xcursorgen') | ||
15 | provides=('elementary-icon-theme') | ||
16 | conflicts=('elementary-icon-theme') | ||
17 | options=('!emptydirs') | ||
18 | source=("elementary-icon-theme::git+${url}.git") | ||
19 | sha256sums=('SKIP') | ||
20 | |||
21 | pkgver() { | ||
22 | cd "${srcdir}/elementary-icon-theme" | ||
23 | # https://wiki.archlinux.org/title/VCS_package_guidelines#Git | ||
24 | # Upstream has annotated tags | ||
25 | git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' | ||
26 | } | ||
27 | |||
28 | prepare() { | ||
29 | cd "${srcdir}/elementary-icon-theme" | ||
30 | if [[ -d build ]]; then | ||
31 | rm -rf build | ||
32 | fi | ||
33 | mkdir build | ||
34 | } | ||
35 | |||
36 | build() { | ||
37 | cd "${srcdir}/elementary-icon-theme/build" | ||
38 | arch-meson ../ | ||
39 | ninja | ||
40 | } | ||
41 | |||
42 | package() { | ||
43 | cd "${srcdir}/elementary-icon-theme/build" | ||
44 | DESTDIR="${pkgdir}" ninja install | ||
45 | rm "${pkgdir}"/.VolumeIcon* | ||
46 | } | ||
47 | # vim: ts=2 sw=2 et: | ||