summaryrefslogtreecommitdiffstats
path: root/elementary-icon-theme-git
diff options
context:
space:
mode:
Diffstat (limited to 'elementary-icon-theme-git')
-rw-r--r--elementary-icon-theme-git/.SRCINFO20
-rw-r--r--elementary-icon-theme-git/PKGBUILD47
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 @@
1pkgbase = 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
20pkgname = 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
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: