summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoryochananmarqos2019-04-29 09:18:54 -0600
committeryochananmarqos2019-04-29 09:18:54 -0600
commitebd2f7838c089bb0e8f85ad892785848b3b80b00 (patch)
tree90e1a6667f40d5964cd90c1aa04e534c1e2b1b5a
parenta61b41f4bbcb0274b6e39b45db4f0968c35ad831 (diff)
downloadaur-ebd2f7838c089bb0e8f85ad892785848b3b80b00.tar.gz
PKGBUILD tweaks
-rw-r--r--PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4043b03c090..8c6518e2558 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,23 +8,23 @@ url="https://gitlab.gnome.org/aviwad/organizer"
license=('GPL3')
depends=('python' 'gtk3' 'libhandy' 'python-gobject')
makedepends=('git' 'meson')
-provides=('organizer')
-conflicts=('organizer')
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
source=("git+https://gitlab.gnome.org/aviwad/organizer.git")
sha256sums=('SKIP')
pkgver() {
- cd "${pkgname%-git}"
+ cd "$srcdir/${pkgname%-git}"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
- cd "${pkgname%-git}"
+ cd "$srcdir/${pkgname%-git}"
meson . build --prefix /usr
ninja -C build
}
package() {
- cd "${pkgname%-git}"
+ cd "$srcdir/${pkgname%-git}"
DESTDIR="$pkgdir" ninja -C build install
}