aboutsummaryrefslogblamecommitdiffstats
path: root/main/xfce4-settings/APKBUILD
blob: 8881b41ebfb6c505ad15235619db4f0afc48e9e1 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   

             

                                   
          

               
                           
                                                                           
                                                
                                                                                             
         
 










                                             
                                                                
                                                              



                       




                                      
                                 

                                       



                                     


                                                  


                                                                                                                                                                            
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-settings
pkgver=4.10.1
pkgrel=0
pkgdesc="Settings manager for xfce"
url="http://www.xfce.org/"
arch="all"
license="GPL-2"
depends=
subpackages="$pkgname-lang"
makedepends="libxfce4ui-dev exo-dev libxi-dev libxrandr-dev libxklavier-dev
	libnotify-dev libxcursor-dev garcon-dev"
source="http://archive.xfce.org/src/xfce/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2
	"

_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
	for i in "$srcdir"/*.patch; do
		[ -f "$i" ] || continue
		msg "Applying ${i##*/}"
		patch -p1 -i "$i" || return 1
	done

	# use tango as default icon set
	sed -i -e 's/Rodent/Tango/g' xfsettingsd/xsettings.xml \
		dialogs/appearance-settings/main.c || return 1
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static \
		--enable-libxklavier \
		--enable-xrandr \
		--enable-sound-settings
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="eaa86dd86ef0dad9cf7af1ee2c831972  xfce4-settings-4.10.1.tar.bz2"
sha256sums="118a6959ea50e3a533d7aa18ec5a878a47a30608b3ce9ce59a93c3888f4e13d5  xfce4-settings-4.10.1.tar.bz2"
sha512sums="cf2d3255a0c862b0d016a8653fd1ba94c86b9da36b894dd7ad733d6758b9e023807aa93b1e43deeb0f6a34c6db23507f6fe32b6b7a98fa3e0d3bc7577da429f7  xfce4-settings-4.10.1.tar.bz2"