summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrikilinux2015-06-11 01:40:46 -0300
committerFrikilinux2015-06-11 01:40:46 -0300
commitd880cb4af9ae355f98c518dd3cb45487b19a7a69 (patch)
tree621e39355a81bfeb35fb1ab880b8dff488e5d450
downloadaur-d880cb4af9ae355f98c518dd3cb45487b19a7a69.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD26
-rw-r--r--kde-thumbnailer-apk.install10
3 files changed, 53 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..d1c1380c069
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = kde-thumbnailer-apk
+ pkgdesc = Preview image generator plugin for Android Application Package files.
+ pkgver = 1.0
+ pkgrel = 3
+ url = http://kde-apps.org/content/show.php/KDE+APK+Thumbnailer?content=156421
+ install = kde-thumbnailer-apk.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = cmake
+ makedepends = automoc4
+ depends = kdelibs
+ source = http://kde-apps.org/CONTENT/content-files/156421-kde-thumbnailer-apk-1.0.tar.bz2
+ sha256sums = aefb7296a5207e13c4f3624acb6fd3ea359972fbee7f618686f970036067f476
+
+pkgname = kde-thumbnailer-apk
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e5b4b007c37
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Frikilinux <frikilinux at gmail.com>
+# Contributor: Artem Sereda <overmind88@gmail.com>
+
+pkgname=kde-thumbnailer-apk
+pkgver=1.0
+pkgrel=3
+pkgdesc="Preview image generator plugin for Android Application Package files."
+arch=('i686' 'x86_64')
+url="http://kde-apps.org/content/show.php/KDE+APK+Thumbnailer?content=156421"
+license=('GPL')
+depends=('kdelibs')
+makedepends=('cmake' 'automoc4')
+source=(http://kde-apps.org/CONTENT/content-files/156421-${pkgname}-${pkgver}.tar.bz2)
+install=${pkgname}.install
+sha256sums=('aefb7296a5207e13c4f3624acb6fd3ea359972fbee7f618686f970036067f476')
+
+build() {
+ cd "${srcdir}"/${pkgname}
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DAutomoc4_DIR=/usr/lib/automoc4
+ make
+}
+package() {
+ cd "${srcdir}"/${pkgname}
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/kde-thumbnailer-apk.install b/kde-thumbnailer-apk.install
new file mode 100644
index 00000000000..cadf0502576
--- /dev/null
+++ b/kde-thumbnailer-apk.install
@@ -0,0 +1,10 @@
+post_install() {
+ update-mime-database usr/share/mime
+}
+post_upgrade() {
+ post_install
+}
+ post_remove() {
+ post_install
+}
+ \ No newline at end of file