diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-02-10 16:09:11 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-02-16 17:00:42 +0000 |
commit | fb7839d5a7ccef73bc0cb5e60be1f99a49c86841 (patch) | |
tree | a8cd25b32f06364e8dcac1665247a14091a6a87a /main | |
parent | 9b03ed64f4c44510c274fe649568ddaaab00c2bf (diff) | |
download | aports-fb7839d5a7ccef73bc0cb5e60be1f99a49c86841.tar.bz2 aports-fb7839d5a7ccef73bc0cb5e60be1f99a49c86841.tar.xz |
main/xfce4-settings: modernise, add sound, add check, license
Diffstat (limited to 'main')
-rw-r--r-- | main/xfce4-settings/APKBUILD | 33 |
1 files changed, 13 insertions, 20 deletions
diff --git a/main/xfce4-settings/APKBUILD b/main/xfce4-settings/APKBUILD index b254b75da3..cabcbd7404 100644 --- a/main/xfce4-settings/APKBUILD +++ b/main/xfce4-settings/APKBUILD @@ -1,33 +1,22 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=xfce4-settings pkgver=4.12.1 -pkgrel=0 +pkgrel=1 pkgdesc="Settings manager for xfce" url="https://xfce.org/" arch="all" -license="GPL-2.0" +license="GPL-2.0-only" depends= subpackages="$pkgname-lang" makedepends="libxfce4ui-dev exo-dev libxi-dev libxrandr-dev libxklavier-dev - libnotify-dev libxcursor-dev garcon-dev upower-dev + libnotify-dev libxcursor-dev garcon-dev upower-dev libcanberra-dev xf86-input-libinput-dev" source="http://archive.xfce.org/src/xfce/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2 alpine-defaults.patch " -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -38,14 +27,18 @@ build() { --enable-libxklavier \ --enable-xrandr \ --enable-sound-settings \ - --enable-xorg-libinput \ - || return 1 - make || return 1 + --enable-xorg-libinput + make +} + +check() { + cd "$builddir" + make check } package() { - cd "$srcdir"/$pkgname-$pkgver - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } sha512sums="20aca9c6337433b0b7165acfb373bce14e13e368345844799cfe71bcf433a38c4d1f57d3ffe01eda347d167c3098f46ac77d0364b64a2a59bbe82e45d76a9623 xfce4-settings-4.12.1.tar.bz2 |