diff options
author | Philip Goto | 2021-05-26 18:13:29 +0200 |
---|---|---|
committer | Philip Goto | 2021-05-26 18:13:29 +0200 |
commit | b6e32f9b50b59bafca7fcf9803913e508d5405ad (patch) | |
tree | 3f2d58fa47e7ce0a571268f799c53218a6867cf5 /PKGBUILD | |
download | aur-b6e32f9b50b59bafca7fcf9803913e508d5405ad.tar.gz |
Initialize
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..dc4ad39f734d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Philip Goto <philip.goto@gmail.com> + +pkgname=icon-library-git +pkgver=0.0.8.r1.gdfc2e1c +pkgrel=1 +pkgdesc='Find the right symbolic icon to use on your GNOME application' +arch=(x86_64 aarch64) +url='https://gitlab.gnome.org/World/design/icon-library' +license=(GPL3) +depends=( + gtksourceview4 + libhandy +) +makedepends=( + cmake + git + meson + rust +) +provides=(icon-library) +conflicts=(icon-library) +source=("git+${url}.git") +sha256sums=('SKIP') + +pkgver() { + cd icon-library + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + arch-meson icon-library build + meson compile -C build +} + +check() { + meson test -C build --print-errorlogs +} + +package() { + DESTDIR="${pkgdir}" meson install -C build +} |