summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e5ae668baea1017a9b052a3075aef490d563f812 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer: Zom <zomaur at eevul dot org>
pkgname=annex-git
_pkgname=annex
pkgver=r13.4482dd2
pkgrel=1
license=("GPL2")
pkgdesc="Simple appstore for gnome shell extensions."
makedepends=(git meson)
depends=(gjs hicolor-icon-theme gtk4 python-gobject libsoup)
optdepends=()
arch=("any")
url="https://github.com/andyholmes/annex"
source=("${pkgname%-*}::git+https://github.com/andyholmes/annex.git")
sha512sums=('SKIP')
provides=("annex")
conflicts=("annex")

pkgver() {
	cd "$_pkgname"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
        cd "$_pkgname"
	meson --prefix /usr build
}

package() {
	cd "$_pkgname"
	DESTDIR="$pkgdir" meson install -C build
	install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}