diff options
Diffstat (limited to 'community/xfce4-screenshooter/APKBUILD')
-rw-r--r-- | community/xfce4-screenshooter/APKBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/community/xfce4-screenshooter/APKBUILD b/community/xfce4-screenshooter/APKBUILD new file mode 100644 index 0000000000..7cec821fe8 --- /dev/null +++ b/community/xfce4-screenshooter/APKBUILD @@ -0,0 +1,51 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=xfce4-screenshooter +pkgver=1.8.2 +pkgrel=1 +pkgdesc="screenshot application for Xfce4" +url="http://goodies.xfce.org/projects/applications/xfce4-screenshooter" +arch="all" +license="GPL-2.0" +subpackages="$pkgname-doc $pkgname-lang" +depends= +makedepends="xfce4-panel-dev hicolor-icon-theme libsoup-dev libxfce4ui-dev + exo-dev libxext-dev" +install= +source="http://archive.xfce.org/src/apps/xfce4-screenshooter/${pkgver%.*}/xfce4-screenshooter-$pkgver.tar.bz2 + xfce4-screenshooter-1.7.9-dsofix.patch" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + 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 \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib \ + --localstatedir=/var \ + --disable-static \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="3a32ecc5566453a58f6a4ddd70649444 xfce4-screenshooter-1.8.2.tar.bz2 +a8a30afa060e0f65cbc8a0809f2d8c31 xfce4-screenshooter-1.7.9-dsofix.patch" +sha256sums="9dce2ddfaa87f703e870e29bae13f3fc82a1b3f06b44f8386640e45a135f5f69 xfce4-screenshooter-1.8.2.tar.bz2 +7173fb4f70a07343ea5c5f3301f749d5d42ddca173621bb52fb70d959e043b64 xfce4-screenshooter-1.7.9-dsofix.patch" +sha512sums="e43dce108c7bacfeebdc39b0c9948b348c77faf358fb0ab5f26d59c96980f1c5473ef87895fe53387340202813935ddad6e200010e61aa27c2c56b662ee56b1e xfce4-screenshooter-1.8.2.tar.bz2 +e2ac3e4c068874c5e3a4631fb9887c3aa1251b282ff422aa02c68424f8557967d213fa23660c08e0c44b394c162e23a51ade2f76f1b758eb78dc3da7986704bb xfce4-screenshooter-1.7.9-dsofix.patch" |