summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoractionless2020-10-06 18:39:46 +0200
committeractionless2020-10-06 18:39:46 +0200
commit9a3c3a6f2c8b79f6f10e9dba09f51e9461fe5ffe (patch)
treecf75d60a1b175486734761e92a28060003b03092
parente11e9fc5e1e8acbc87563ceb81c97bb050154c39 (diff)
downloadaur-9a3c3a6f2c8b79f6f10e9dba09f51e9461fe5ffe.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 439f9431383..c5714acb070 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = geh-git
pkgdesc = A simple command line image viewer written in C/GTK3 with various nice features.
pkgver = 0.4.0.r9.g26bfe3a
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/software-revive/geh-rv
arch = x86_64
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index b314dd8938f..a69584f9e5e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=geh-git
pkgver=0.4.0.r9.g26bfe3a
-pkgrel=2
+pkgrel=3
pkgdesc="A simple command line image viewer written in C/GTK3
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" --disable-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"