diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-17 15:24:56 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-01-17 15:24:56 +0000 |
commit | dd712e8e99c8fc4eba14fd2ea05a0c73a9534d06 (patch) | |
tree | 453935abbdd2cbff8569bdb682391c221b2b31eb /x11 | |
parent | a3f25eea130691290f375e4182322fd6ec0aaf7f (diff) | |
download | aports-dd712e8e99c8fc4eba14fd2ea05a0c73a9534d06.tar.bz2 aports-dd712e8e99c8fc4eba14fd2ea05a0c73a9534d06.tar.xz |
x11/ristretto: use triggers instead of post scripts
Diffstat (limited to 'x11')
-rw-r--r-- | x11/ristretto/APKBUILD | 22 | ||||
l--------- | x11/ristretto/ristretto.post-deinstall | 1 | ||||
-rw-r--r-- | x11/ristretto/ristretto.post-install | 6 | ||||
l--------- | x11/ristretto/ristretto.post-upgrade | 1 |
4 files changed, 11 insertions, 19 deletions
diff --git a/x11/ristretto/APKBUILD b/x11/ristretto/APKBUILD index 5c651efb7..4daa72593 100644 --- a/x11/ristretto/APKBUILD +++ b/x11/ristretto/APKBUILD @@ -1,28 +1,28 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=ristretto pkgver=0.0.22 -pkgrel=0 +pkgrel=1 pkgdesc="Ristretto is a image viewer for Xfce" url="http://goodies.xfce.org/projects/applications/ristretto" license="GPL-2" depends="desktop-file-utils hicolor-icon-theme" makedepends="pkgconfig libxfcegui4-dev dbus-glib-dev libexif-dev intltool gettext-dev libiconv-dev thunar-dev" -install="ristretto.post-install ristretto.post-upgrade ristretto.post-deinstall" -source="http://goodies.xfce.org/releases/$pkgname/$pkgname-$pkgver.tar.gz - $install" +install= +source="http://goodies.xfce.org/releases/$pkgname/$pkgname-$pkgver.tar.gz" -build () -{ +build() { cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ + --enable-xfce-desktop \ --disable-static || return 1 - make || return 1 + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install || return 1 } -md5sums="978ae19472c5a0b7d4b6622a68234a67 ristretto-0.0.22.tar.gz -9ba052c0be9f3e3ae52ef7d45083efa3 ristretto.post-install -9ba052c0be9f3e3ae52ef7d45083efa3 ristretto.post-upgrade -9ba052c0be9f3e3ae52ef7d45083efa3 ristretto.post-deinstall" +md5sums="978ae19472c5a0b7d4b6622a68234a67 ristretto-0.0.22.tar.gz" diff --git a/x11/ristretto/ristretto.post-deinstall b/x11/ristretto/ristretto.post-deinstall deleted file mode 120000 index 545052657..000000000 --- a/x11/ristretto/ristretto.post-deinstall +++ /dev/null @@ -1 +0,0 @@ -ristretto.post-install
\ No newline at end of file diff --git a/x11/ristretto/ristretto.post-install b/x11/ristretto/ristretto.post-install deleted file mode 100644 index e3be6863e..000000000 --- a/x11/ristretto/ristretto.post-install +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -update-desktop-database -q -gtk-update-icon-cache -q -t -f usr/share/icons/hicolor - - diff --git a/x11/ristretto/ristretto.post-upgrade b/x11/ristretto/ristretto.post-upgrade deleted file mode 120000 index 545052657..000000000 --- a/x11/ristretto/ristretto.post-upgrade +++ /dev/null @@ -1 +0,0 @@ -ristretto.post-install
\ No newline at end of file |