summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoreyelash2016-12-17 13:49:57 +0100
committereyelash2016-12-17 13:49:57 +0100
commitaaab0c3aceb3b7ee3b01ba3edf68a9d9b4547285 (patch)
tree428a3536812927cad89fd1957515470fa7d02b63
parent96edd209fa6ea7a03828a3f0688d4a4a4884b0a5 (diff)
downloadaur-aaab0c3aceb3b7ee3b01ba3edf68a9d9b4547285.tar.gz
Update and enable optimizations
-rw-r--r--PKGBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d2c6fb6785d..0c5a537036c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: eyelash <eyelash@users.noreply.github.com>
pkgname=xi-gtk-git
-pkgver=r38.85e0859
+pkgver=r39.338feab
pkgrel=1
pkgdesc='a GTK+ front-end for the Xi editor'
arch=('i686' 'x86_64')
@@ -10,26 +10,26 @@ license=('Apache')
depends=('xi-core-git' 'gtk3')
makedepends=('git' 'vala' 'meson')
conflicts=('xi-gtk')
-source=('git+https://github.com/eyelash/xi-gtk.git')
+source=("$pkgname"::'git+https://github.com/eyelash/xi-gtk.git')
sha256sums=('SKIP')
pkgver() {
- cd "$srcdir/xi-gtk"
+ cd "$srcdir/$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
- cd "$srcdir/xi-gtk"
+ cd "$srcdir/$pkgname"
mkdir build
}
build() {
- cd "$srcdir/xi-gtk/build"
- meson --prefix /usr ..
+ cd "$srcdir/$pkgname/build"
+ meson --prefix /usr --buildtype=release ..
ninja
}
package() {
- cd "$srcdir/xi-gtk/build"
+ cd "$srcdir/$pkgname/build"
DESTDIR="$pkgdir" ninja install
}