summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoractionless2020-10-06 18:43:06 +0200
committeractionless2020-10-06 18:43:06 +0200
commitfb96a8cd6e3f04fbaa6fb618e512c04c53f76b84 (patch)
tree85a83e9d44f2124d7a2b845bbe9a63c18b176f26
parentb01430ed92fa3a5328f8b364296edbdf950be6e4 (diff)
downloadaur-fb96a8cd6e3f04fbaa6fb618e512c04c53f76b84.tar.gz
move build to according section
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD11
2 files changed, 9 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a25b72e25b0..7e375a2b5c0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = geh-gtk2-git
pkgdesc = A simple command line image viewer written in C/GTK2 with various nice features.
pkgver = 0.4.0.r9.g26bfe3a
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/software-revive/geh-rv
arch = x86_64
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index c0788c1ea2e..b2a9ce843da 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=geh-gtk2-git
pkgver=0.4.0.r9.g26bfe3a
-pkgrel=1
+pkgrel=2
pkgdesc="A simple command line image viewer written in C/GTK2
with various nice features."
arch=('x86_64' 'i686')
@@ -31,11 +31,16 @@ pkgver() {
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
-package() {
+build() {
cd "${srcdir}/geh"
./autogen.sh
./configure --prefix="$pkgdir" --enable-gtk2
- make && make install
+ make
+}
+
+package() {
+ cd "${srcdir}/geh"
+ make install
mkdir -p "$pkgdir/usr/bin"
mv "$pkgdir/bin/"* "$pkgdir/usr/bin"
rmdir "$pkgdir/bin"