diff options
author | Philip Goto | 2019-02-16 13:36:21 +0100 |
---|---|---|
committer | Philip Goto | 2019-02-16 13:36:21 +0100 |
commit | 4f368cad3fe0b5b907941c16b9f80535b5f313c4 (patch) | |
tree | 89bb9e75112e90ae25e99aba25ecff74bd89cc1b | |
parent | 77b3439a96f2a0c2fc36dd9110a8f51c00ff8330 (diff) | |
download | aur-4f368cad3fe0b5b907941c16b9f80535b5f313c4.tar.gz |
Clean up functions
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 8 insertions, 15 deletions
@@ -1,6 +1,6 @@ pkgbase = akira-git pkgdesc = Native Linux App for UI and UX Design built in Vala and Gtk - pkgver = r166.144fd19 + pkgver = r167.443668c pkgrel = 1 url = https://github.com/Alecaddd/Akira arch = x86_64 @@ -1,7 +1,7 @@ # Maintainer: Philip Goto <philip.goto@gmail.com> pkgname=akira-git -pkgver=r166.144fd19 +pkgver=r167.443668c pkgrel=1 pkgdesc="Native Linux App for UI and UX Design built in Vala and Gtk" arch=(x86_64) @@ -18,26 +18,19 @@ source=("git+https://github.com/Alecaddd/Akira.git") sha256sums=(SKIP) pkgver() { - cd Akira - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} - -prepare() { - mkdir build + cd Akira + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { - cd build - meson --prefix=/usr --buildtype=release ../Akira - ninja + arch-meson Akira build + ninja -C build } #check() { -# cd build -# ninja test +# ninja -C build test #} package() { - cd build - DESTDIR="$pkgdir" ninja install + DESTDIR="${pkgdir}" ninja -C build install } |