summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgaelic2018-09-23 13:07:44 +0200
committergaelic2018-09-23 13:07:44 +0200
commit080187b66f6d5a709c88dfb88c3ca8ea96155b5e (patch)
treec7082ebcf255e92ea10a29baec7659abf9531871
parent805d8910073675930fab637094edfdbb454daf3c (diff)
downloadaur-080187b66f6d5a709c88dfb88c3ca8ea96155b5e.tar.gz
link bugfix
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD10
2 files changed, 10 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 13bc82a42d31..ef7faa25e22b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sat Sep 22 19:42:39 UTC 2018
+# Sun Sep 23 11:07:30 UTC 2018
pkgbase = shotwell-git
pkgdesc = A digital photo organizer designed for the GNOME desktop environment
- pkgver = 0.31.4086
- pkgrel = 2
+ pkgver = 0.31.4088
+ pkgrel = 3
url = http://yorba.org/shotwell/
arch = x86_64
license = LGPL2.1
diff --git a/PKGBUILD b/PKGBUILD
index 43ae3469a365..efeb0a31a10c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
pkgname=shotwell-git
_pkgname=shotwell
-pkgver=0.31.4086
+pkgver=0.31.4088
_pkgver=0.31
-pkgrel=2
+pkgrel=3
pkgdesc="A digital photo organizer designed for the GNOME desktop environment"
arch=('x86_64')
url="http://yorba.org/shotwell/"
@@ -34,14 +34,18 @@ build() {
package() {
cd "$_pkgname/build"
DESTDIR="$pkgdir" ninja install
+
install -d -m755 $pkgdir/usr/bin
- ln -s $pkgdir/opt/$pkgname/bin/shotwell $pkgdir/usr/bin/shotwell-git
+ ln -s /opt/$pkgname/bin/shotwell $pkgdir/usr/bin/shotwell-git
+
install -d -m755 $pkgdir/etc/ld.so.conf.d/
echo /opt/shotwell-git/lib > $pkgdir/etc/ld.so.conf.d/shotwell-git.conf
+
install -d -m755 $pkgdir/usr/share/applications
sed -e 's/shotwell/shotwell\-git/g' \
-i $pkgdir/opt/$pkgname/share/applications/org.gnome.Shotwell.desktop
cp $pkgdir/opt/$pkgname/share/applications/org.gnome.Shotwell.desktop $pkgdir/usr/share/applications/org.gnome.Shotwell-git.desktop
+
for dir in `find /usr/share/icons/hicolor/ -mindepth 1 -maxdepth 1 -type d | sed 's|^/[^/]*||'`; do
install -d -m755 $pkgdir/usr/$dir/apps
if [ -e $pkgdir/opt/$pkgname/$dir/apps/org.gnome.Shotwell.png ]