summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/xfconf/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/user/xfconf/APKBUILD b/user/xfconf/APKBUILD
new file mode 100644
index 000000000..d6d99b110
--- /dev/null
+++ b/user/xfconf/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=xfconf
+pkgver=4.13.5
+pkgrel=0
+pkgdesc="Configuration framework for the XFCE desktop environment"
+url="https://xfce.org"
+arch="all"
+options="!check" # tests require X11
+license="LGPL-2.1+ AND GPL-2.0+"
+depends="dbus"
+makedepends="intltool gtk+3.0-dev libxfce4util-dev"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+langdir="/usr/lib/locale"
+source="http://archive.xfce.org/src/xfce/xfconf/4.13/xfconf-$pkgver.tar.bz2"
+sha512sums="34e6b99be0b288707f8632c5fe4f2e66e01ec3950f4d194a7007afb4bc1cfe8bea44f8f80873de2364680481921332c9860b23bca4ced94ecb95c9199df5315b xfconf-4.13.5.tar.bz2"
+builddir="$srcdir/xfconf-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+perl() {
+ depends="perl perl-glib"
+ pkgdesc="Perl bindings for xfconf"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/perl5 "$subpkgdir"/usr/lib
+}
+