summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPierre Neidhardt2015-09-26 10:23:46 +0200
committerPierre Neidhardt2015-09-26 10:29:46 +0200
commit34a67a3366d4ce00ae4dd0ffe46c16c559baa19f (patch)
treebe0160fbfa29e0bcbf5f77f9f4b2e13b270d260c /PKGBUILD
parent6344b5203441a62ea7d5446444adb857d630ce23 (diff)
downloadaur-34a67a3366d4ce00ae4dd0ffe46c16c559baa19f.tar.gz
lua51-oocairo-git: Fix syntax
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD20
1 files changed, 10 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e15c2ad184e..f820228fa5f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,18 +4,18 @@
_pkgname=oocairo
pkgname=lua51-$_pkgname-git
-pkgver=2015.04.03.g2f41d09
+pkgver=2015.07.14.gc0b15cd
pkgrel=1
pkgdesc="Module providing access to Cairo from within Lua"
-arch=(i686 x86_64)
-url="https://github.com/awesomeWM/oocairo"
-license=('MIT')
+arch=("i686" "x86_64")
+url="https://github.com/awesomeWM/$_pkgname"
+license=("MIT")
depends=("cairo>=1.8.0" "lua51")
conflicts=("lua51-oocairo")
provides=("lua51-oocairo")
makedepends=("git" "libtool" "pkgconfig")
-source=("git+https://github.com/awesomeWM/oocairo.git")
-sha1sums=('SKIP')
+source=("git+https://github.com/awesomeWM/$_pkgname.git")
+sha1sums=("SKIP")
pkgver() {
cd "$srcdir/$_pkgname"
@@ -23,7 +23,7 @@ pkgver() {
}
build() {
- cd ${srcdir}/${_pkgname}
+ cd "$srcdir/$_pkgname"
autoreconf --install
export oocairo_cv_lua_name=lua5.1
./configure --prefix=/usr
@@ -31,7 +31,7 @@ build() {
}
package() {
- cd ${srcdir}/${_pkgname}/
- install -D -m755 .libs/liboocairo.so.0.0.0 "${pkgdir}/usr/lib/lua/5.1/oocairo.so"
- install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/lua51-$_pkgname/COPYRIGHT"
+ cd "$srcdir/$_pkgname"
+ install -Dm755 .libs/liboocairo.so.0.0.0 "$pkgdir/usr/lib/lua/5.1/oocairo.so"
+ install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/lua51-$_pkgname/COPYRIGHT"
}