summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Goto2019-02-16 13:36:21 +0100
committerPhilip Goto2019-02-16 13:36:21 +0100
commit4f368cad3fe0b5b907941c16b9f80535b5f313c4 (patch)
tree89bb9e75112e90ae25e99aba25ecff74bd89cc1b
parent77b3439a96f2a0c2fc36dd9110a8f51c00ff8330 (diff)
downloadaur-4f368cad3fe0b5b907941c16b9f80535b5f313c4.tar.gz
Clean up functions
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD21
2 files changed, 8 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 52e2b32d5f8..0556c18fbd0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 14dc4855af6..e9bc7149333 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
}