diff options
author | Mark Wagie | 2021-06-17 16:53:09 -0600 |
---|---|---|
committer | Mark Wagie | 2021-06-17 16:53:09 -0600 |
commit | 9cfa9ee4f25871a22bd8c68c0072c9e7a554fd7e (patch) | |
tree | f18f98b9b0e5264e22623cb81891288f71e46518 | |
parent | 57dc8bb2d2e9fbcb9a9ef9699d5a3dc74226544c (diff) | |
download | aur-9cfa9ee4f25871a22bd8c68c0072c9e7a554fd7e.tar.gz |
PKGBUILD adjustments
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -15,6 +15,11 @@ conflicts=("${pkgname%-git}" source=("${pkgname%-git}::git+https://github.com/bilelmoussaoui/nautilus-git") sha256sums=('SKIP') +pkgver() { + cd "$srcdir/${pkgname%-git}" + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + prepare() { cd "$srcdir/${pkgname%-git}" @@ -22,11 +27,6 @@ prepare() { sed -i '37,38d' meson.build } -pkgver() { - cd "$srcdir/${pkgname%-git}" - git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' -} - build() { arch-meson "${pkgname%-git}" build -Dfile_manager=nautilus meson compile -C build |