diff options
Diffstat (limited to 'main/scrnsaverproto/APKBUILD')
-rw-r--r-- | main/scrnsaverproto/APKBUILD | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/main/scrnsaverproto/APKBUILD b/main/scrnsaverproto/APKBUILD new file mode 100644 index 0000000000..292827d0ce --- /dev/null +++ b/main/scrnsaverproto/APKBUILD @@ -0,0 +1,21 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=scrnsaverproto +pkgver=1.2.0 +pkgrel=0 +pkgdesc="X11 Screen Saver extension wire protocol" +url="http://xorg.freedesktop.org/" +license="custom" +depends="" +makedepends="" +source="http://xorg.freedesktop.org//releases/individual/proto/$pkgname-$pkgver.tar.bz2" + +build () +{ + cd "$srcdir"/$pkgname-$pkgver + ./configure --prefix=/usr || return 1 + make || return 1 + make DESTDIR="$pkgdir" install || return 1 + install -m755 -d "$pkgdir"/usr/share/licenses/$pkgname + install -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/ || return 1 +} +md5sums="9040c991a56ee9b5976936f8c65d5c8a scrnsaverproto-1.2.0.tar.bz2" |