summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Newgard2015-08-10 21:42:44 -0500
committerDoug Newgard2015-08-10 21:42:44 -0500
commitd52212f8e65216d78954fb95279fcc1a8281c91e (patch)
treec944e87fe6db2e26ffda28ead4e21424e9e0f1f4
parentf63a5a474b136adf80afedd08ea71f88471580df (diff)
downloadaur-d52212f8e65216d78954fb95279fcc1a8281c91e.tar.gz
Simplify
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD13
2 files changed, 8 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6bc84647e94..9329b39fd6c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = edgar-git
pkgdesc = Enlightenment module: Load Python gadgets
- pkgver = 0.2.0.r27.4855de6
+ pkgver = 0.2.0.r32.3f954f4
pkgrel = 1
url = https://git.enlightenment.org/enlightenment/modules/edgar.git
arch = i686
@@ -10,7 +10,7 @@ pkgbase = edgar-git
makedepends = git
depends = enlightenment
depends = python-efl
- provides = edgar=0.2.0.r27.4855de6
+ provides = edgar=0.2.0.r32.3f954f4
conflicts = edgar
source = git://git.enlightenment.org/enlightenment/modules/edgar.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index b94b34f98ec..6ad66e234e1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_pkgname=edgar
pkgname=$_pkgname-git
-pkgver=0.2.0.r27.4855de6
+pkgver=0.2.0.r32.3f954f4
pkgrel=1
pkgdesc="Enlightenment module: Load Python gadgets"
arch=('i686' 'x86_64')
@@ -16,7 +16,7 @@ source=("git://git.enlightenment.org/enlightenment/modules/$_pkgname.git")
sha256sums=('SKIP')
pkgver() {
- cd "$srcdir/$_pkgname"
+ cd $_pkgname
local v_ver=$(awk -F , '/^AC_INIT/ {gsub(/[\[\] -]/, ""); print $2}' configure.ac)
@@ -24,11 +24,11 @@ pkgver() {
}
prepare() {
- find "$srcdir/$_pkgname/GADGETS" -name Makefile -exec sed -i '/^gadget_folder/ s/ = /&${DESTDIR}/' {} \;
+ find "$_pkgname/GADGETS" -name Makefile -exec sed -i '/^gadget_folder/ s/ = /&${DESTDIR}/' {} \;
}
build() {
- cd "$srcdir/$_pkgname"
+ cd $_pkgname
./autogen.sh \
--prefix=/usr \
@@ -43,7 +43,7 @@ build() {
}
package() {
- cd "$srcdir/$_pkgname"
+ cd $_pkgname
make DESTDIR="$pkgdir" install
@@ -58,6 +58,5 @@ package() {
python -O -m compileall -q "$pkgdir"
# install text files
- install -d "$pkgdir/usr/share/doc/$_pkgname/"
- install -m644 -t "$pkgdir/usr/share/doc/$_pkgname/" AUTHORS ChangeLog NEWS README
+ install -Dm644 -t "$pkgdir/usr/share/doc/$_pkgname/" AUTHORS ChangeLog NEWS README
}