diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 7 insertions, 10 deletions
@@ -1,7 +1,7 @@ # Maintainer: Philip Goto <philip.goto@gmail.com> pkgname=drawing-git -pkgver=r134.b748831 +pkgver=0.2.r4.g3f49a0e pkgrel=1 pkgdesc="Drawing application for the GNOME desktop" url="https://github.com/maoschanz/drawing" @@ -15,22 +15,19 @@ source=("git+https://github.com/maoschanz/drawing.git") sha256sums=(SKIP) pkgver() { - cd drawing - ( set -o pipefail - git describe --long --tags 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' || - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" - ) + cd drawing + git describe --long --tags 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { - arch-meson drawing build - ninja -C build + arch-meson drawing build + ninja -C build } #check() { -# meson test -C build +# meson test -C build #} package() { - DESTDIR="$pkgdir" meson install -C build + DESTDIR="$pkgdir" meson install -C build } |