summaryrefslogtreecommitdiffstats
path: root/main/xfdesktop/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/xfdesktop/APKBUILD')
-rw-r--r--main/xfdesktop/APKBUILD22
1 files changed, 11 insertions, 11 deletions
diff --git a/main/xfdesktop/APKBUILD b/main/xfdesktop/APKBUILD
index 4341fbf48..70e27facf 100644
--- a/main/xfdesktop/APKBUILD
+++ b/main/xfdesktop/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfdesktop
pkgver=4.6.1
-pkgrel=0
+pkgrel=1
pkgdesc="A desktop manager for Xfce"
url="http://www.xfce.org/"
license="GPL-2"
@@ -11,23 +11,23 @@ makedepends="pkgconfig libxfce4menu-dev thunar-dev intltool gettext-dev
libiconv-dev libxfce4util-dev gtk+-dev libxfcegui4-dev libwnck-dev
libglade-dev xfce4-panel-dev libsm-dev libice-dev expat-dev
e2fsprogs-dev"
-install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
-source="http://www.xfce.org/archive/xfce-$pkgver/src/$pkgname-$pkgver.tar.bz2
- $install"
+install=
+source="http://www.xfce.org/archive/xfce-$pkgver/src/$pkgname-$pkgver.tar.bz2"
-build ()
-{
- cd "$srcdir"/$pkgname-$pkgver
+_builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--localstatedir=/var \
--disable-static || return 1
make || return 1
+}
+
+package() {
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="ae15cacc3e3834cca7238a8e1035c50d xfdesktop-4.6.1.tar.bz2
-db51db79681eadc47be4932355a77c25 xfdesktop.post-install
-db51db79681eadc47be4932355a77c25 xfdesktop.post-upgrade
-db51db79681eadc47be4932355a77c25 xfdesktop.post-deinstall"
+md5sums="ae15cacc3e3834cca7238a8e1035c50d xfdesktop-4.6.1.tar.bz2"