From 27d1e194717b1696b3169ad43df027876247b91a Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 23 Apr 2018 19:44:46 +0000 Subject: main/{xfce*} => community/ Move everything xfce to community --- community/xfce4-screenshooter/APKBUILD | 51 ++++++++++++++++++++++ .../xfce4-screenshooter-1.7.9-dsofix.patch | 13 ++++++ .../xfce4-screenshooter.install | 13 ++++++ 3 files changed, 77 insertions(+) create mode 100644 community/xfce4-screenshooter/APKBUILD create mode 100644 community/xfce4-screenshooter/xfce4-screenshooter-1.7.9-dsofix.patch create mode 100644 community/xfce4-screenshooter/xfce4-screenshooter.install (limited to 'community/xfce4-screenshooter') 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 +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" diff --git a/community/xfce4-screenshooter/xfce4-screenshooter-1.7.9-dsofix.patch b/community/xfce4-screenshooter/xfce4-screenshooter-1.7.9-dsofix.patch new file mode 100644 index 0000000000..c383b2e52a --- /dev/null +++ b/community/xfce4-screenshooter/xfce4-screenshooter-1.7.9-dsofix.patch @@ -0,0 +1,13 @@ +Upstream: https://bugzilla.xfce.org/show_bug.cgi?id=7985 + +--- xfce4-screenshooter-1.7.9.orig/Makefile.in 2010-02-07 14:45:15.000000000 +0100 ++++ xfce4-screenshooter-1.7.9/Makefile.in 2010-02-16 23:57:31.000000000 +0100 +@@ -282,7 +282,7 @@ + INTLTOOL_PERL = @INTLTOOL_PERL@ + INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ + LD = @LD@ +-LDFLAGS = @LDFLAGS@ ++LDFLAGS = @LDFLAGS@ -lm -lX11 + LIBOBJS = @LIBOBJS@ + LIBS = @LIBS@ + LIBTOOL = @LIBTOOL@ diff --git a/community/xfce4-screenshooter/xfce4-screenshooter.install b/community/xfce4-screenshooter/xfce4-screenshooter.install new file mode 100644 index 0000000000..e4f8fd06c1 --- /dev/null +++ b/community/xfce4-screenshooter/xfce4-screenshooter.install @@ -0,0 +1,13 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + +# vim:set ts=2 sw=2 et: -- cgit v1.2.3