summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFFY002018-07-02 01:22:47 +0100
committerFFY002018-07-02 01:22:47 +0100
commitb8faa7d5c6b3ee08cab8be8adcbc221e212f4dcf (patch)
tree83784f87245b5882994ba6608059fc5f4d48aa64 /PKGBUILD
parent84b62ce30a2fbc5fec9bb253294d539fede364dc (diff)
downloadaur-b8faa7d5c6b3ee08cab8be8adcbc221e212f4dcf.tar.gz
pkgbuild: add quotes to $pkgdir
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 690fe10ade0..ef9b97650dd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -33,22 +33,23 @@ _gitroot=GITURL
_gitname=gegl
build() {
- cd "$srcdir/$_gitname"
+ cd "$srcdir"/$_gitname
./autogen.sh
./configure --prefix=/usr --with-sdl --with-openexr --with-librsvg \
--with-libavformat --with-jasper --disable-docs \
--enable-workshop \
--enable-introspection=yes
- make
+
+ make
}
package() {
- cd "$srcdir/$_gitname"
- make DESTDIR="$pkgdir/" install
+ cd "$srcdir"/$_gitname
+ make DESTDIR="$pkgdir" install
}
pkgver() {
- cd $_gitname
+ cd "$srcdir"/$_gitname
git describe --always | sed -e 's/GEGL_//' -e 's/-g.*$//' -e 's/[_-]/./g'
}