diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-17 17:22:45 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-10-09 16:03:52 +0000 |
commit | 7165ef184867cc9442f1bf96ba6cd78709d2311f (patch) | |
tree | 8bf7fd335d38c31fce9fca18463600527f7e1cec | |
parent | e1e90ffb5be4ab101b369e24387e8e86c6fb237f (diff) | |
download | aports-7165ef184867cc9442f1bf96ba6cd78709d2311f.tar.bz2 aports-7165ef184867cc9442f1bf96ba6cd78709d2311f.tar.xz |
main/xfwm4: modernise, add tests, add libepoxy dep
-rw-r--r-- | main/xfwm4/APKBUILD | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/main/xfwm4/APKBUILD b/main/xfwm4/APKBUILD index d3cd212bd6..cd6a751f87 100644 --- a/main/xfwm4/APKBUILD +++ b/main/xfwm4/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=xfwm4 pkgver=4.12.4 -pkgrel=0 +pkgrel=1 pkgdesc="Xfce window manager, compatible with Gnome, Gnome2, KDE2, and KDE3" url="http://www.xfce.org/" arch="all" @@ -10,12 +10,12 @@ license="GPL2" depends="hicolor-icon-theme" subpackages="$pkgname-lang" makedepends="libxfce4ui-dev libwnck-dev libxrandr-dev libxcomposite-dev - libxfixes-dev libxdamage-dev libxrender-dev" + libxfixes-dev libxdamage-dev libxrender-dev libepoxy-dev" install= source="http://archive.xfce.org/src/xfce/xfwm4/${pkgver%.*}/xfwm4-$pkgver.tar.bz2" build () { - cd "$srcdir"/$pkgname-$pkgver + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -25,13 +25,17 @@ build () { --localstatedir=/var \ --disable-static \ --enable-compositor \ - --enable-xsync \ - || return 1 - make || return 1 + --enable-xsync + make +} + +check() { + cd "$builddir" + make check } package() { - cd "$srcdir"/$pkgname-$pkgver - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } sha512sums="a33530b08f094456c45ad7c627ba34d3772eaeacdc9f422a3a54a16194d494cb1d6798122398d917fb8bc970db7e1184d9dc8edefc365dacc86de22be397b43d xfwm4-4.12.4.tar.bz2" |