summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStorm2016-03-05 12:02:01 -0500
committerStorm2016-03-05 12:02:01 -0500
commit18285fd031dc28eb3d96d91836072ec3862ac1c4 (patch)
treeff8b29287c1d01bb8b5511cc78cc198aee7eef2b
parent4430f4429d0fcd24b1d9e39f7dc41308c5e351f8 (diff)
downloadaur-18285fd031dc28eb3d96d91836072ec3862ac1c4.tar.gz
Adopted packageA, fixed env issue.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD13
2 files changed, 14 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c50f801315e..c5ce534e774 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,9 @@
+# Generated by mksrcinfo v8
+# Sat Mar 5 17:01:15 UTC 2016
pkgbase = oysttyer-git
pkgdesc = interactive command-line Twitter client
pkgver = 134.c6ff39e
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/oysttyer/oysttyer
arch = any
makedepends = git
diff --git a/PKGBUILD b/PKGBUILD
index 1ee296eee7e..d55476f673f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,9 @@
+# Maintainer Storm Dragon <stormdragon2976@gmail.com>
# Contributor louipc base64:TG91aSBDaGFuZyA8bG91aXBjLmlzdEBnbWFpbC5jb20+
pkgname="oysttyer-git"
+_pkgname="oysttyer"
pkgver=134.c6ff39e
-pkgrel=1
+pkgrel=2
pkgdesc="interactive command-line Twitter client"
url="https://github.com/oysttyer/oysttyer"
arch=('any')
@@ -15,7 +17,14 @@ pkgver() {
echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
-package() {
+prepare()
+{
+ cd "${srcdir}/${pkgname}"
+sed -i 's/^#!\/usr\/bin\/env /#!\/usr\/bin\//' oysttyer.pl
+}
+
+package()
+{
cd "${srcdir}/${pkgname}"
install -Dm755 oysttyer.pl "$pkgdir/usr/bin/oysttyer"
install -Dm644 README.markdown "$pkgdir/usr/share/doc/$pkgname/README"