diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-11-17 12:10:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-11-17 12:10:31 +0000 |
commit | 16ab94186999a490bcd83f9fd36033ef35fc2117 (patch) | |
tree | 3e44489ac153abc59b3d6ec6b3fd72c39e6abe67 /main/xdm/APKBUILD | |
parent | ee16929e9ce0aa0784b0ad32eebead33af719b41 (diff) | |
download | aports-16ab94186999a490bcd83f9fd36033ef35fc2117.tar.bz2 aports-16ab94186999a490bcd83f9fd36033ef35fc2117.tar.xz |
main/xdm: move from testing
Diffstat (limited to 'main/xdm/APKBUILD')
-rw-r--r-- | main/xdm/APKBUILD | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/main/xdm/APKBUILD b/main/xdm/APKBUILD new file mode 100644 index 0000000000..54e8ec6dfc --- /dev/null +++ b/main/xdm/APKBUILD @@ -0,0 +1,86 @@ +# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr> +# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr> +pkgname=xdm +pkgver=1.1.11 +pkgrel=0 +pkgdesc="X Display Manager" +url="http://xorg.freedesktop.org/" +arch="all" +license="MIT" +depends="" +depends_dev="linux-pam-dev libxmu-dev libxaw-dev" +makedepends="${depends_dev}" +install="" +subpackages="${pkgname}-doc" +source=" + ${url}/releases/individual/app/${pkgname}-${pkgver}.tar.bz2 + ${pkgname}.initd + Xresources.alpinelinux + Xresources.alpinelinux_old + alpinelinux_old_blue_black.xpm + alpinelinux_white_blue.xpm +" + +_builddir="${srcdir}"/"${pkgname}"-"${pkgver}" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --enable-ipv6 \ + --with-pam \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/X11/xdm/*.la + install -D -m755 "$srcdir"/${pkgname}.initd \ + "$pkgdir"/etc/init.d/${pkgname} || return 1 + install -D -m644 "$srcdir"/Xresources.alpinelinux \ + "$pkgdir"/usr/lib/X11/${pkgname}/Xresources.alpinelinux \ + || return 1 + install -D -m644 "$srcdir"/Xresources.alpinelinux_old \ + "$pkgdir"/usr/lib/X11/${pkgname}/Xresources.alpinelinux_old \ + || return 1 + install -D -m644 "$srcdir"/alpinelinux_old_blue_black.xpm \ + "$pkgdir"/usr/lib/X11/${pkgname}/pixmaps/alpinelinux_old_blue_black.xpm \ + || return 1 + install -D -m644 "$srcdir"/alpinelinux_white_blue.xpm \ + "$pkgdir"/usr/lib/X11/${pkgname}/pixmaps/alpinelinux_white_blue.xpm \ + || return 1 +} + +md5sums="64a1af1f7eb69feae12e75d4cc3aaf19 xdm-1.1.11.tar.bz2 +f4ce20cccb87ddccf5b4740bc5f6b252 xdm.initd +5b147a19de1f402a3fefa1ec1fbfa0b3 Xresources.alpinelinux +3836d85795131140996387911b522c97 Xresources.alpinelinux_old +eac1a660d7e389768cbc9883f0730281 alpinelinux_old_blue_black.xpm +650ee72b634ff7fb146b7a7652416b5a alpinelinux_white_blue.xpm" +sha256sums="d4da426ddea0124279a3f2e00a26db61944690628ee818a64df9d27352081c47 xdm-1.1.11.tar.bz2 +1c26a147a6ec8ef7307a54f8c35d369f0858be3fd961872f35b8f95627a55b00 xdm.initd +d039de78037ab2071cc836620feaf2389179cab706d57787686d8d64faa688b1 Xresources.alpinelinux +6cb7ab36db5d1f5cfa1d11d3ea4a2bcf4f968ba44ebbeb4391dc74d4f110a39e Xresources.alpinelinux_old +fd868f01d1b6e1ca6905e9f35599cc7e6a0e0818b34a47f56819ccee1d8db0d8 alpinelinux_old_blue_black.xpm +848334ce1dfafe22746a57005910ef68641df8cc09bd5ad803048bc22e534feb alpinelinux_white_blue.xpm" +sha512sums="fe6f2b7817c0f7f07a1f5f497edcdfa15b93986fd87f314daa472dac8625327ef46ebbf40d27fe8d4a8a2f8d5af8a01c4438a29356740e0eb350f2bd0c7ec0d5 xdm-1.1.11.tar.bz2 +a2c8258b50b3e16ca2aa01a50b96ae056e1e2d6c0189690a9971415292e04884a3e7ceb71b52dea8daa95eb71c08e08425adf448459b8e9750bad92adb077e47 xdm.initd +441ed25037e5210112a3a909e30ae28820aad35616bfa488edc067843edebf328338b86597918ce5451361132abcd82d5aeda2dfe5123fb5796bf2684bd499eb Xresources.alpinelinux +57f7104ffc5a815c1c5905a513f919bd098da389a81a4941ef827e685cb8858f34960cdbf2b11e188b527a259c0a9fbc89c957946ddb4e2e5b000416b23bd7ba Xresources.alpinelinux_old +b55424fd9ea0970fdbecd11c1abecf41cad1a7ede03f38011f666ae4eed2a88def5ac364bdf4ebcac09fa66963ed534e85faff74fcd01e9f040229d999382472 alpinelinux_old_blue_black.xpm +3872c54ad6fd6aa6c893f5f950801ae079bb7b6d375a05ef2262eb244a96ea3e949ab3cd962e005acf957c9ad4d30caee4c3935d7864a196625e8bfed9bc5adf alpinelinux_white_blue.xpm" |