summaryrefslogblamecommitdiff
path: root/user/xfconf/APKBUILD
blob: 610376ab04a07e305ace3e91f11aee7e8a0759fc (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                 
              
             
        


                                                                  
                                      

                                
                                                                 
                                                     
                                                                                     

         
                                   









                                         



                  









                                                       
                                                                                                                                                                    
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=xfconf
pkgver=4.16.0
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>=${pkgver%.*}"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://archive.xfce.org/src/xfce/xfconf/${pkgver%.*}/xfconf-$pkgver.tar.bz2"

build() {
	LIBS="-lintl" ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	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
}

sha512sums="d2e6b272243d6eda71f42cb3df18cb9c0745a1864718639e9aa494902dfe5b4989b2761fee2195456e5725cad0f744978f9c95c6f01e48aa016a919ce3468344  xfconf-4.16.0.tar.bz2"