summaryrefslogtreecommitdiffstats
path: root/x11/scrot/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-22 23:03:54 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-22 23:03:54 +0000
commit93e030e7d464711bd5c6ac41ed5a36ef57073ad6 (patch)
treeeb6f2c11f43e38948df608a798bf6cc2d2886a48 /x11/scrot/APKBUILD
parent227254c672d476c27a8c16e643b9f02afd283beb (diff)
downloadaports-93e030e7d464711bd5c6ac41ed5a36ef57073ad6.tar.bz2
aports-93e030e7d464711bd5c6ac41ed5a36ef57073ad6.tar.xz
x11/{rgb,scrot,xbacklite,xsetmode,sxetroot}: remove auto deps
Diffstat (limited to 'x11/scrot/APKBUILD')
-rw-r--r--x11/scrot/APKBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/x11/scrot/APKBUILD b/x11/scrot/APKBUILD
index cf9cf1a54..ee98edd62 100644
--- a/x11/scrot/APKBUILD
+++ b/x11/scrot/APKBUILD
@@ -1,21 +1,24 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=scrot
pkgver=0.8
-pkgrel=2
+pkgrel=3
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"
+depends=
makedepends="giblib-dev imlib2-dev libx11-dev"
source="http://linuxbrit.co.uk/downloads/$pkgname-$pkgver.tar.gz"
-build ()
-{
- cd $srcdir/$pkgname-$pkgver
+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
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ 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"