diff options
author | zoe | 2016-02-02 11:46:55 +0100 |
---|---|---|
committer | zoe | 2016-02-02 11:46:55 +0100 |
commit | 2594fca9bcbeb5f434b3ed768599c714ea45aeab (patch) | |
tree | 4a1a525141734f9d7482443d9021cdd7e30d7e2e /PKGBUILD | |
download | aur-2594fca9bcbeb5f434b3ed768599c714ea45aeab.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..71a3f02f3745 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer : zoe <chp321 at gmail dot com> +# Contributor: Josef Lusticky <evramp@gmail.com> + +pkgname=urbanlightscape +pkgver=1.4.0 +pkgrel=1 +pkgdesc="A photo filter for exposure, brightness and lighting correction" +arch=(i686 x86_64) +url="http://www.indii.org/software/urbanlightscape" +license=('GPL') +depends=('wxgtk' 'desktop-file-utils') +makedepends=('boost') +source=("http://www.indii.org/files/${pkgname}/releases/${pkgname}-${pkgver}.tar.gz" + "http://www.indii.org/images/${pkgname}_128.png" "${pkgname}.desktop") +md5sums=('e5097a9a48f2f2cde1d641380f050dc6' + 'b6940433e6e0bcd85fea1e311c520804' + '295a61ac999850102e1330548b5a4d61') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}/" install + + # desktop file + install -Dm644 ../${pkgname}.desktop \ + "$pkgdir/usr/share/applications/${pkgname}.desktop" + + # icon + install -Dm644 ../${pkgname}_128.png \ + "${pkgdir}/usr/share/pixmaps/${pkgname}.png" +} + |