summaryrefslogtreecommitdiffstats
path: root/elementary-icon-theme-git/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'elementary-icon-theme-git/PKGBUILD')
-rw-r--r--elementary-icon-theme-git/PKGBUILD47
1 files changed, 47 insertions, 0 deletions
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
5pkgname=elementary-icon-theme-git
6pkgver=6.0.0.r4.g9c8e5b0f
7pkgrel=1
8pkgdesc='Named, vector icons for elementary OS'
9arch=('any')
10url='https://github.com/elementary/icons'
11license=('GPL3')
12groups=('pantheon-unstable')
13depends=('hicolor-icon-theme')
14makedepends=('git' 'meson' 'inkscape' 'xorg-xcursorgen')
15provides=('elementary-icon-theme')
16conflicts=('elementary-icon-theme')
17options=('!emptydirs')
18source=("elementary-icon-theme::git+${url}.git")
19sha256sums=('SKIP')
20
21pkgver() {
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
28prepare() {
29 cd "${srcdir}/elementary-icon-theme"
30 if [[ -d build ]]; then
31 rm -rf build
32 fi
33 mkdir build
34}
35
36build() {
37 cd "${srcdir}/elementary-icon-theme/build"
38 arch-meson ../
39 ninja
40}
41
42package() {
43 cd "${srcdir}/elementary-icon-theme/build"
44 DESTDIR="${pkgdir}" ninja install
45 rm "${pkgdir}"/.VolumeIcon*
46}
47# vim: ts=2 sw=2 et: