summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..24be36a3916
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Lukas Spies <lukas_dot_spies_at_web_dot_de>
+
+pkgname=imgurqt
+pkgrel=1
+pkgver=1.0
+githash=b0700cc79bb5b512b1f749bd396ab4dfa065ef8b
+pkgdesc="Console application implementing basic commands of imgur.com APIv3"
+arch=("i686" "x86_64")
+url="http://photoqt.org/imgurqt"
+conflicts=("imgurqt-git")
+license=("GPL2")
+depends=("qt5-base")
+makedepends=("git" "cmake")
+source=("https://gitlab.com/luspi/imgurqt/repository/archive.tar.gz?ref=v1.0")
+md5sums=('e27c0ea4bc11a8f76281ca7d01a52ff7')
+
+prepare() {
+ cd "$srcdir/$pkgname-v$pkgver-$githash"
+ cmake .
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-v$pkgver-$githash"
+ install -D imgurqt $pkgdir/usr/bin/imgurqt
+}