summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Newgard2014-10-19 23:25:55 -0500
committerDoug Newgard2014-10-19 23:25:55 -0500
commit46b3287b3b0c6060d50150fba8fbde842102cca1 (patch)
tree511b39a2cb6a5c6eca42260792da50aa6110104e
parenta6069a7907c4f4174ac6cdc35375867e63b331ba (diff)
downloadaur-46b3287b3b0c6060d50150fba8fbde842102cca1.tar.gz
Template update
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD18
2 files changed, 11 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 62d8bd4d870..ba0f3f9d0cf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = eruler-git
pkgdesc = On-Screen Ruler and Measurement Tools using EFL
- pkgver = 0.1.0.r4.e8fee1a
+ pkgver = 0.1.0.r9.386f9e7
pkgrel = 1
url = http://www.enlightenment.org
arch = i686
@@ -8,7 +8,7 @@ pkgbase = eruler-git
license = GPL
makedepends = git
depends = elementary
- provides = eruler=0.1.0.r4.e8fee1a
+ provides = eruler=0.1.0.r9.386f9e7
conflicts = eruler
source = git://git.enlightenment.org/apps/eruler.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index d0b985ad889..a183c38aae0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Doug Newgard <scimmia22 at outlook dot com>
-pkgname=eruler-git
-_pkgname=${pkgname%-*}
-pkgver=0.1.0.r4.e8fee1a
+_pkgname=eruler
+pkgname=$_pkgname-git
+pkgver=0.1.0.r9.386f9e7
pkgrel=1
pkgdesc="On-Screen Ruler and Measurement Tools using EFL"
arch=('i686' 'x86_64')
@@ -17,10 +17,10 @@ sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
-
- local _ver=$(awk -F , '/^AC_INIT/ {print $2}' configure.ac | tr -d '[ ]-')
-
- echo $_ver.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+
+ local v_ver=$(awk -F , '/^AC_INIT/ {gsub(/[\[\] -]/, ""); print $2}' configure.ac)
+
+ printf "$v_ver.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
build() {
@@ -39,6 +39,6 @@ package() {
make DESTDIR="$pkgdir" install
# install text files
- install -Dm644 AUTHORS "$pkgdir/usr/share/doc/$_pkgname/AUTHORS"
- install -Dm644 README "$pkgdir/usr/share/doc/$_pkgname/README"
+ install -d "$pkgdir/usr/share/doc/$_pkgname/"
+ install -m644 -t "$pkgdir/usr/share/doc/$_pkgname/" AUTHORS README
}