summaryrefslogtreecommitdiff
path: root/user/xfconf/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-08-18 05:19:38 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-08-18 16:24:35 -0500
commit7e46306a5fd51a7602df2153cdc5254a5c854bc2 (patch)
treed99604ad2e027cce3b6d502221e02495309e50c5 /user/xfconf/APKBUILD
parent3b18d33058ce24e64e665529ecdec15a032b929a (diff)
downloadpackages-7e46306a5fd51a7602df2153cdc5254a5c854bc2.tar.gz
packages-7e46306a5fd51a7602df2153cdc5254a5c854bc2.tar.bz2
packages-7e46306a5fd51a7602df2153cdc5254a5c854bc2.tar.xz
packages-7e46306a5fd51a7602df2153cdc5254a5c854bc2.zip
user/xfconf: new package
Diffstat (limited to 'user/xfconf/APKBUILD')
-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
+}
+