aboutsummaryrefslogtreecommitdiffstats
path: root/main/orage/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/orage/APKBUILD')
-rw-r--r--main/orage/APKBUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/main/orage/APKBUILD b/main/orage/APKBUILD
index 6a80beb219..fa102eedd7 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"