summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Newgard2014-05-04 00:10:39 -0500
committerDoug Newgard2014-05-04 00:10:39 -0500
commita44a5e4c977113d3ff6392a48b57bf183c3645f6 (patch)
tree5db534ab0303952c7c5a1ce2c1916b8556fbf7ea
parent4b59239f3189af9d32c64f1431df34c35fe3e070 (diff)
downloadaur-a44a5e4c977113d3ff6392a48b57bf183c3645f6.tar.gz
Tools aren't ready to use pkgbase like this, switch back to _pkgname
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD20
2 files changed, 11 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 87f45a6fe1d..eb926f7efe3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,4 +1,4 @@
-pkgbase = enlightenment
+pkgbase = enlightenment-git
pkgdesc = Enlightenment window manager - Development version
pkgver = 0.18.99.18286.7274ffa
pkgrel = 1
diff --git a/PKGBUILD b/PKGBUILD
index ebe7e37fd4b..79a3d8e1342 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Doug Newgard <scimmia22 at outlook dot com>
# Contributor: Ronald van Haren <ronald.archlinux.org>
-pkgbase=enlightenment
-pkgname=$pkgbase-git
+_pkgname=enlightenment
+pkgname=$_pkgname-git
pkgver=0.18.99.18286.7274ffa
pkgrel=1
pkgdesc="Enlightenment window manager - Development version"
@@ -18,17 +18,17 @@ optdepends=('acpid: power events on laptop lid close'
'connman: network module'
'gdb: create backtraces on crash'
'packagekit: packagekit module')
-provides=("$pkgbase=$pkgver" 'notification-daemon')
-conflicts=("$pkgbase")
+provides=("$_pkgname=$pkgver" 'notification-daemon')
+conflicts=("$_pkgname")
backup=('etc/enlightenment/sysactions.conf'
'etc/xdg/menus/enlightenment.menu')
options=('debug')
install=enlightenment.install
-source=("git://git.enlightenment.org/core/$pkgbase.git")
+source=("git://git.enlightenment.org/core/$_pkgname.git")
sha256sums=('SKIP')
pkgver() {
- cd "$srcdir/$pkgbase"
+ cd "$srcdir/$_pkgname"
for _i in v_maj v_min v_mic; do
local v_ver=${v_ver#.}.$(grep -m1 $_i configure.ac | sed 's/m4//' | grep -o "[[:digit:]]*")
@@ -40,7 +40,7 @@ pkgver() {
}
build() {
- cd "$srcdir/$pkgbase"
+ cd "$srcdir/$_pkgname"
export CFLAGS="$CFLAGS -fvisibility=hidden"
@@ -54,13 +54,13 @@ build() {
}
package() {
- cd "$srcdir/$pkgbase"
+ cd "$srcdir/$_pkgname"
make DESTDIR="$pkgdir" install
# install text files
- install -d "$pkgdir/usr/share/doc/$pkgbase/"
- install -m644 -t "$pkgdir/usr/share/doc/$pkgbase/" ChangeLog NEWS README
+ install -d "$pkgdir/usr/share/doc/$_pkgname/"
+ install -m644 -t "$pkgdir/usr/share/doc/$_pkgname/" ChangeLog NEWS README
# install license files
install -d "$pkgdir/usr/share/licenses/$pkgname/"