summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2019-03-26 20:55:06 +0100
committerhaawda2019-03-26 20:55:06 +0100
commitde6bb8d63da9a0b5627cb85e70653e62c0e8ce8d (patch)
tree9b0fc8bf0a32205110c74d123ab080e7373455d4
parente196c878464b451bd7686f0670f563a6b4dac3f5 (diff)
downloadaur-de6bb8d63da9a0b5627cb85e70653e62c0e8ce8d.tar.gz
correct iconpath and desktop file
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f14665c63ddc..ab188944c046 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.6
- pkgrel = 4
+ pkgrel = 5
url = http://www.kornelix.net/fotoxx/fotoxx.html
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 7a3f041def51..75860dd69d9e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=fotoxx
pkgver=19.6
-pkgrel=4
+pkgrel=5
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')
@@ -27,7 +27,8 @@ build() {
package() {
cd $pkgname
- make DESTDIR="$pkgdir" PREFIX=/usr install
+ make DESTDIR="$pkgdir" PREFIX=/usr ICONDIR=/usr/share/pixmaps install
rm -r "$pkgdir"/usr/share/appdata
chmod o+r "$pkgdir"/usr/share/fotoxx/images/show-RGB.jpg
+ sed -i 's+/usr/share/fotoxx/icons/++' "$pkgdir"/usr/share/applications/$pkgname.desktop
}