diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-06-04 08:59:27 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-06-04 08:59:27 +0000 |
commit | f6a8df6a4ef83e9677bbb65b43323dd9ee210443 (patch) | |
tree | b71d3a309f5f9eebc197d3ef70ed171a8de57baf /main/orage | |
parent | b1182b333ef06b3cb488082491ffc02c7785d9c1 (diff) | |
download | aports-f6a8df6a4ef83e9677bbb65b43323dd9ee210443.tar.bz2 aports-f6a8df6a4ef83e9677bbb65b43323dd9ee210443.tar.xz |
main/orage: use triggers instead of post script
Diffstat (limited to 'main/orage')
-rw-r--r-- | main/orage/APKBUILD | 18 | ||||
l--------- | main/orage/orage.post-deinstall | 1 | ||||
-rw-r--r-- | main/orage/orage.post-install | 4 |
3 files changed, 9 insertions, 14 deletions
diff --git a/main/orage/APKBUILD b/main/orage/APKBUILD index 6a80beb21..fa102eedd 100644 --- a/main/orage/APKBUILD +++ b/main/orage/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=orage pkgver=4.6.1 -pkgrel=1 +pkgrel=2 pkgdesc="A simple calendar application with reminders for Xfce" url="http://www.xfce.org/projects/orage/" license="GPL-2" @@ -9,12 +9,10 @@ subpackages="$pkgname-doc" depends="hicolor-icon-theme" makedepends="pkgconfig xfce4-panel-dev libnotify-dev intltool gettext-dev libiconv-dev libsm-dev expat-dev e2fsprogs-dev" -install="orage.post-install orage.post-deinstall" -source="http://www.xfce.org/archive/xfce-$pkgver/src/$pkgname-$pkgver.tar.bz2 - $install" +install= +source="http://archive.xfce.org/src/apps/orage/${pkgver%.*}/orage-$pkgver.tar.bz2" -build () -{ +build() { cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr \ --sysconfdir=/etc \ @@ -22,9 +20,11 @@ build () --localstatedir=/var \ --disable-static || return 1 make || return 1 +} + +package() { + cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install || return 1 } -md5sums="24fa43dd86ec5af5a4766620fd972cf2 orage-4.6.1.tar.bz2 -db51db79681eadc47be4932355a77c25 orage.post-install -db51db79681eadc47be4932355a77c25 orage.post-deinstall" +md5sums="24fa43dd86ec5af5a4766620fd972cf2 orage-4.6.1.tar.bz2" diff --git a/main/orage/orage.post-deinstall b/main/orage/orage.post-deinstall deleted file mode 120000 index eef6db267..000000000 --- a/main/orage/orage.post-deinstall +++ /dev/null @@ -1 +0,0 @@ -orage.post-install
\ No newline at end of file diff --git a/main/orage/orage.post-install b/main/orage/orage.post-install deleted file mode 100644 index c523d78da..000000000 --- a/main/orage/orage.post-install +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -gtk-update-icon-cache -q -t -f usr/share/icons/hicolor - |