summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2019-03-07 21:21:22 +0100
committerhaawda2019-03-07 21:21:22 +0100
commit8e7c4d0e335b17ffaf79d3d42e073469c90f6a69 (patch)
treeab6aa341588ad449582a38f96fba47303ede3654
parentc17fce9600a75ab28b925358c90d468463212589 (diff)
downloadaur-8e7c4d0e335b17ffaf79d3d42e073469c90f6a69.tar.gz
fix includ of chamlain headers
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD9
2 files changed, 8 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7293ede5aa8..ebf16b0166e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = fotoxx
pkgdesc = A program for improving image files made with a digital camera, stable version
pkgver = 19.5
- pkgrel = 1
+ pkgrel = 2
url = http://www.kornelix.net/fotoxx/fotoxx.html
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index f4a61873d32..bd3599d78c1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=fotoxx
pkgver=19.5
-pkgrel=1
+pkgrel=2
pkgdesc="A program for improving image files made with a digital camera, stable version"
url="http://www.kornelix.net/fotoxx/fotoxx.html"
arch=('i686' 'x86_64')
@@ -14,6 +14,11 @@ optdepends=('rawtherapee: for raw image processing'
source=("http://www.kornelix.net/downloads/tarballs/$pkgname-$pkgver.tar.gz")
sha512sums=('765ff2836fbb0ce41659719feb703c857851cc369215c0d0b455291f6f6f97b732461ca7123c84f13d5af147570eb33755a2080a75666392be36f6aaad96891f')
+prepare() {
+ cd $pkgname
+ sed -i 's+libchamplain+champlain+g' Makefile
+}
+
build() {
cd $pkgname
make PREFIX=/usr
@@ -21,7 +26,7 @@ build() {
package() {
cd $pkgname
- make DESTDIR="$pkgdir" PREFIX=/usr install
+ make DESTDIR="$pkgdir" PREFIX=/usr install
rm -r "$pkgdir"/usr/share/appdata
chmod o+r "$pkgdir"/usr/share/fotoxx/images/show-RGB.jpg
}