summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Gerhaeuser2016-10-11 21:06:37 +0200
committerMichael Gerhaeuser2016-10-11 21:06:37 +0200
commit1848eedf1e33f7499c64cf57ffb874fbd871b506 (patch)
tree282e818651529655839b5d1f4e67168743d8c499
parentba00eed39a21b1cd4afd70240fbda651f4d57182 (diff)
downloadaur-1848eedf1e33f7499c64cf57ffb874fbd871b506.tar.gz
Update to rev252, fix PKGBUILD issues
Remove obsolete wxlua-svn.install file Copy license file to the appropriate folder Add patch file to source array Apply patches in prepare()
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD21
-rw-r--r--wxlua.install12
3 files changed, 17 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9ebdd7d8542a..7c085b99c58d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,8 @@
-# Generated by mksrcinfo v8
-# Sun Dec 20 19:51:33 UTC 2015
pkgbase = wxlua-svn
pkgdesc = A set of bindings to the wxWidgets library for the Lua programming language - svn version
- pkgver = 251
- pkgrel = 2
+ pkgver = 252
+ pkgrel = 1
url = http://wxlua.sourceforge.net
- install = wxlua.install
arch = i686
arch = x86_64
license = custom:wxWindows
@@ -20,7 +17,9 @@ pkgbase = wxlua-svn
conflicts = wxlua
conflicts = wxstedit
source = wxlua::svn+http://svn.code.sf.net/p/wxlua/svn/trunk
+ source = wxlstate.patch
md5sums = SKIP
+ md5sums = d4bdd1ccbb3a33abf4e7e33776811038
pkgname = wxlua-svn
diff --git a/PKGBUILD b/PKGBUILD
index 9b9309073914..1e6c9233f0dc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,8 @@
pkgname=wxlua-svn
_pkgname=wxlua
-pkgver=251
-pkgrel=2
+pkgver=252
+pkgrel=1
pkgdesc="A set of bindings to the wxWidgets library for the Lua programming language - svn version"
arch=('i686' 'x86_64')
url="http://wxlua.sourceforge.net"
@@ -14,9 +14,10 @@ depends=('desktop-file-utils' 'wxgtk' 'webkitgtk2' 'lua52')
makedepends=('subversion' 'cmake')
provides=('wxlua' 'wxstedit')
conflicts=('wxlua' 'wxstedit')
-install="wxlua.install"
-source=("wxlua::svn+http://svn.code.sf.net/p/wxlua/svn/trunk")
-md5sums=('SKIP')
+source=("wxlua::svn+http://svn.code.sf.net/p/wxlua/svn/trunk"
+ "wxlstate.patch")
+md5sums=('SKIP'
+ 'd4bdd1ccbb3a33abf4e7e33776811038')
pkgver() {
cd "$srcdir/$_pkgname"
@@ -24,14 +25,18 @@ pkgver() {
printf "%s" "${ver//[[:alpha:]]}"
}
-build() {
+prepare() {
cd "$srcdir/$_pkgname/wxLua/"
# wxstedit doc folder fix
sed -i 's|doc/|share/&|' modules/wxstedit/CMakeLists.txt
# fix segfault
- svn patch ../../../wxlstate.patch
+ svn patch "$srcdir/wxlstate.patch"
+}
+
+build() {
+ cd "$srcdir/$_pkgname/wxLua/"
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
@@ -63,7 +68,7 @@ package() {
# license
install -Dm 644 ../docs/licence.txt \
- "$pkgdir/usr/share/licenses/wxlua/LICENSE"
+ "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:set ts=2 sw=2 et:
diff --git a/wxlua.install b/wxlua.install
deleted file mode 100644
index 32bd4537c6f5..000000000000
--- a/wxlua.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- update-desktop-database -q
- update-mime-database usr/share/mime
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-} \ No newline at end of file