aboutsummaryrefslogtreecommitdiffstats
path: root/x11/scrot/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-05-15 21:27:14 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-05-15 21:27:14 +0000
commit0618fb6202466b08484bb6ccf45e32edee9112ec (patch)
tree2a9a9baa6952e4ff007dc5be27c030de508db304 /x11/scrot/APKBUILD
parentd68c4a234f55767fc7ee9d94b03ee5b70c054cba (diff)
downloadaports-0618fb6202466b08484bb6ccf45e32edee9112ec.tar.bz2
aports-0618fb6202466b08484bb6ccf45e32edee9112ec.tar.xz
x11/scrot: new aport
A simple command-line screenshot utility for X http://linuxbrit.co.uk/scrot/
Diffstat (limited to 'x11/scrot/APKBUILD')
-rw-r--r--x11/scrot/APKBUILD21
1 files changed, 21 insertions, 0 deletions
diff --git a/x11/scrot/APKBUILD b/x11/scrot/APKBUILD
new file mode 100644
index 0000000000..cf9cf1a540
--- /dev/null
+++ b/x11/scrot/APKBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=scrot
+pkgver=0.8
+pkgrel=2
+pkgdesc="A simple command-line screenshot utility for X"
+url="http://linuxbrit.co.uk/scrot/"
+license="MIT"
+subpackages="$pkgname-doc"
+depends="giblib uclibc imlib2 libx11"
+makedepends="giblib-dev imlib2-dev libx11-dev"
+source="http://linuxbrit.co.uk/downloads/$pkgname-$pkgver.tar.gz"
+
+build ()
+{
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr --mandir=/usr/share/man || return 1
+ make || return 1
+ make DESTDIR=$pkgdir docsdir=/usr/share/doc/scrot install || return 1
+ install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+md5sums="ccae904d225609571bdd3b03445c1e88 scrot-0.8.tar.gz"