diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-02 04:06:07 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-04-02 04:06:07 +0000 |
commit | c667b77b6719baf541fff1a3e0a855d1ca7c6433 (patch) | |
tree | 160a3ef2cadf16ee901ebbfb33235a840565a41c /community/gpick | |
parent | 0918b213023626f9fb5958a5927263aa4d2ea28b (diff) |
Wed Apr 2 04:01:38 UTC 2014
Diffstat (limited to 'community/gpick')
-rw-r--r-- | community/gpick/PKGBUILD | 26 | ||||
-rw-r--r-- | community/gpick/gpick.install | 12 |
2 files changed, 38 insertions, 0 deletions
diff --git a/community/gpick/PKGBUILD b/community/gpick/PKGBUILD new file mode 100644 index 000000000..4e647078e --- /dev/null +++ b/community/gpick/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 108692 2014-04-01 11:51:44Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> + +pkgname=gpick +pkgver=0.2.5 +pkgrel=3 +pkgdesc="Advanced color picker written in C++ using GTK+ toolkit" +arch=('i686' 'x86_64') +url="http://gpick.googlecode.com/" +license=('BSD') +depends=('desktop-file-utils' 'gtk2' 'lua') +makedepends=('boost' 'scons') +source=("http://${pkgname}.googlecode.com/files/${pkgname}_${pkgver}.tar.gz") +md5sums=('4f34bed6a39ee39bac95ff1b10f679ed') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}_${pkgver}" + scons +} + +package() { + cd "${srcdir}/${pkgname}_${pkgver}" + scons DESTDIR="${pkgdir}/usr" install + install -Dm644 installer/License.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} diff --git a/community/gpick/gpick.install b/community/gpick/gpick.install new file mode 100644 index 000000000..771e497ca --- /dev/null +++ b/community/gpick/gpick.install @@ -0,0 +1,12 @@ +post_install() { + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |