diff options
author | Yigit Sever | 2021-10-29 01:30:24 +0300 |
---|---|---|
committer | Yigit Sever | 2021-10-29 01:30:24 +0300 |
commit | 31d147b20c67d95a9e306d0749200bf964ac42af (patch) | |
tree | b0fbe2bb5aa0fec9983746a91d188643ca93466d /elementary-icon-theme-git/PKGBUILD | |
parent | 4a31e5e0f3442a4a5ec9fba94f7bbc2c88312c69 (diff) | |
download | packages-31d147b20c67d95a9e306d0749200bf964ac42af.tar.gz packages-31d147b20c67d95a9e306d0749200bf964ac42af.tar.bz2 packages-31d147b20c67d95a9e306d0749200bf964ac42af.zip |
Use actual files instead of submodules
Diffstat (limited to 'elementary-icon-theme-git/PKGBUILD')
-rw-r--r-- | elementary-icon-theme-git/PKGBUILD | 47 |
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 <alucryd@archlinux.org> | ||
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: | ||