diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-14 08:50:13 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-07-14 09:12:33 +0000 |
commit | 57dbfd4128470b4cfdd1be5f98ba5c609255e371 (patch) | |
tree | b0268ce8b6ba6c533e1228a94b05e855724ea4e6 /main | |
parent | d0997e1926abcca8999f2381c7bd265a2ae6e57b (diff) | |
download | aports-57dbfd4128470b4cfdd1be5f98ba5c609255e371.tar.bz2 aports-57dbfd4128470b4cfdd1be5f98ba5c609255e371.tar.xz |
main/libxscrnsaver: moved from testing
Diffstat (limited to 'main')
-rw-r--r-- | main/libxscrnsaver/APKBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/main/libxscrnsaver/APKBUILD b/main/libxscrnsaver/APKBUILD new file mode 100644 index 0000000000..43321a1033 --- /dev/null +++ b/main/libxscrnsaver/APKBUILD @@ -0,0 +1,51 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=libxscrnsaver +pkgver=1.2.2 +pkgrel=0 +pkgdesc="Xorg screen saver extension" +url="http://cgit.freedesktop.org/xorg/lib/libXScrnSaver/" +arch="all" +license="MIT" +depends="" +depends_dev="scrnsaverproto libxext-dev libx11-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://xorg.freedesktop.org//releases/individual/lib/libXScrnSaver-$pkgver.tar.bz2" + +_builddir="$srcdir"/libXScrnSaver-$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 + update_config_sub || return 1 +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --disable-static \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="7a773b16165e39e938650bcc9027c1d5 libXScrnSaver-1.2.2.tar.bz2" +sha256sums="8ff1efa7341c7f34bcf9b17c89648d6325ddaae22e3904e091794e0b4426ce1d libXScrnSaver-1.2.2.tar.bz2" +sha512sums="973aed3ad296c7160b66fccd4fff7375afc4332239acbe0ae1644fed9c453de69040f8174882ba264c731448edba9b499d398d013d556aea72434339399ed29f libXScrnSaver-1.2.2.tar.bz2" |