summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aaedc33f7a935d24132761ac5dbc86661b532f84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Xappe & the_isz from archlinux.org forums

pkgname=xdm-arch-theme
pkgver=2.3.2
pkgrel=2
pkgdesc="An Arch Linux theme for xdm."
arch=("any")
url="https://gitlab.com/the_isz/xdm-arch-theme"
license=("GPL")
depends=("xorg-xdm" "xorg-xrandr" "xorg-xclock" "xorg-xwininfo" "xorg-xsetroot" "xorg-xkill" "librsvg")
makedepends=("tar" "gzip")
optdepends=(
    "xorg-xmessage: for reboot/halt buttons"
    "imagemagick: one option for setting the background image"
    "feh: another option for setting the background image"
    "xv: another option for setting the background image" )
source=(
    "https://gitlab.com/the_isz/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz"
    "https://upload.wikimedia.org/wikipedia/commons/a/ac/Archlinux-official-fullcolour.svg"
    )
md5sums=(
    "560c2d85401df5a961d05c144724f98c"
    "abc1cc75e716e05a7405071d79dfdf8c"
    )
install=${pkgname}.install

package() {
    cd "$srcdir/$pkgname-$pkgver"

    install -g root -o root -d ${pkgdir}/etc/X11/xdm/arch-xdm
    install -g root -o root -p -m 644 arch-xdm/* ${pkgdir}/etc/X11/xdm/arch-xdm
    chmod u+x ${pkgdir}/etc/X11/xdm/arch-xdm/buttons
    install -g root -o root -p -m 644 ${srcdir}/Archlinux-official-fullcolour.svg ${pkgdir}/etc/X11/xdm/arch-xdm
}