updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / xdm-arch-theme / PKGBUILD
blob674fcc5ee69b8b57130cdf84394bc3d1752552b6
1 # Contributor: Xappe & the_isz from archlinux.org forums
3 pkgname=xdm-arch-theme
4 pkgver=2.2.3
5 pkgrel=1
6 pkgdesc="An Arch Linux theme for xdm."
7 arch=(i686 x86_64)
8 url="https://github.com/the-isz/xdm-arch-theme"
9 license="GPL"
10 depends=("xorg-xdm" "xorg-xrandr" "xorg-xclock" "xorg-xmessage" "xorg-utils" "xorg-xkill" "python2" "librsvg")
11 makedepends=("tar" "gzip")
12 optdepends=(
13     "imagemagick: one option for setting the background image"
14     "feh: another option for setting the background image"
15     "xv: another option for setting the background image" )
16 source=(
17     "https://github.com/the-isz/$pkgname/tarball/$pkgver"
18     "http://upload.wikimedia.org/wikipedia/en/a/ac/Archlinux-official-fullcolour.svg" 
19     )
20 md5sums=(
21     "d2bc89fcf0bab30231e9606aa59ab332"
22     "abc1cc75e716e05a7405071d79dfdf8c"
23     )
24 install=${pkgname}.install
26 build() {
27     cd "$srcdir/the-isz-$pkgname-018dd68"
29     install -g root -o root -d ${pkgdir}/etc/X11/xdm/arch-xdm
30     install -g root -o root -p -m 644 arch-xdm/* ${pkgdir}/etc/X11/xdm/arch-xdm
31     chmod u+x ${pkgdir}/etc/X11/xdm/arch-xdm/buttons
32     install -g root -o root -p -m 644 ${srcdir}/Archlinux-official-fullcolour.svg ${pkgdir}/etc/X11/xdm/arch-xdm