summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f6a0cfcbff5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer : zoe <chp321 at gmail dot com>
+# Contributor: Josef Lusticky <evramp@gmail.com>
+
+pkgname=tintii
+pkgver=2.10.0
+pkgrel=1
+pkgdesc="A smart photo filter for striking colour select effects"
+arch=(i686 x86_64)
+url="http://www.indii.org/software/tintii"
+license=('GPL')
+depends=('wxgtk' 'desktop-file-utils')
+makedepends=('boost')
+source=("http://www.indii.org/files/tint/releases/$pkgname-$pkgver.tar.gz"
+ "http://www.indii.org/images/tintii_128.png" "$pkgname.desktop")
+md5sums=('041fb49a44472c55d421e9771e40532b'
+ 'a135309f20688645df5aa26ca3310705'
+ 'f0dd9d57747d24b55547fc3e5c1ba4ec')
+
+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"
+}
+