summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin MacMartin2015-06-10 00:37:46 -0400
committerKevin MacMartin2015-06-10 00:37:46 -0400
commit59b2d33130c0bfa19b77435739a0f832a76ed62d (patch)
treecb3c2883c4f8cfadfdc3ce026e8193304e3093b6
downloadaur-59b2d33130c0bfa19b77435739a0f832a76ed62d.tar.gz
Initial import into AUR 4
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD22
-rw-r--r--archon-exec.install11
3 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7d5e7c8c383
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = archon-exec
+ pkgdesc = Wrapper script for launching Android APK files with ARChon
+ pkgver = 1.2
+ pkgrel = 1
+ url = https://github.com/prurigro/archon-exec
+ install = archon-exec.install
+ arch = any
+ license = MIT
+ depends = archon
+ depends = chromeos-apk-git
+ depends = chromium
+ source = https://github.com/prurigro/archon-exec/archive/v1.2.tar.gz
+ sha512sums = 989a33b68b047104b00ae272d6af6bd6a8a740eb563b318a20ef185c31e3f8a15d6b458494a850417976a1f4a856f00a8d72b60a261320ab1a9c5ddcf6aa3518
+
+pkgname = archon-exec
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2dca7b82082
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Kevin MacMartin <prurigro at gmail dot com>
+
+pkgname=archon-exec
+pkgver=1.2
+pkgrel=1
+pkgdesc='Wrapper script for launching Android APK files with ARChon'
+arch=('any')
+url='https://github.com/prurigro/archon-exec'
+license=('MIT')
+depends=('archon' 'chromeos-apk-git' 'chromium')
+install=$pkgname.install
+source=("$url/archive/v${pkgver}.tar.gz")
+sha512sums=('989a33b68b047104b00ae272d6af6bd6a8a740eb563b318a20ef185c31e3f8a15d6b458494a850417976a1f4a856f00a8d72b60a261320ab1a9c5ddcf6aa3518')
+
+package() {
+ cd $pkgname-$pkgver
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
+ install -Dm644 $pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
+ ln -s /usr/bin/$pkgname "$pkgdir"/usr/bin/${pkgname/-exec}
+}
diff --git a/archon-exec.install b/archon-exec.install
new file mode 100644
index 00000000000..ac4006f1eff
--- /dev/null
+++ b/archon-exec.install
@@ -0,0 +1,11 @@
+post_upgrade(){
+ update-desktop-database -q
+}
+
+post_install(){
+ post_upgrade
+}
+
+post_remove(){
+ post_upgrade
+}