diff options
author | lastavengers | 2016-05-17 09:18:03 +0800 |
---|---|---|
committer | lastavengers | 2016-05-17 09:18:03 +0800 |
commit | 49a131fa1f5c8ad7e32de9b1af9a9d63ab11cd4d (patch) | |
tree | 7f0d5432c0e1960156fbeb53f195a5c64181be28 | |
parent | fc29f361dfe0bbafe75828832eb86da69b371e51 (diff) | |
download | aur-49a131fa1f5c8ad7e32de9b1af9a9d63ab11cd4d.tar.gz |
change build tool: meson -> waf(self-contained)
-rw-r--r-- | .SRCINFO | 9 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 13 insertions, 15 deletions
@@ -1,17 +1,16 @@ # Generated by mksrcinfo v8 -# Fri May 6 15:48:20 UTC 2016 +# Tue May 17 01:17:41 UTC 2016 pkgbase = ricin-git pkgdesc = A dead-simple but powerful Tox client. - pkgver = 0.652.786de97 + pkgver = 0.668.96cf22c pkgrel = 1 - url = https://github.com/RicinApp/Ricin + url = https://ricin.im/ arch = i686 arch = x86_64 license = GPL3 makedepends = git - makedepends = meson - makedepends = ninja makedepends = vala + makedepends = python depends = gtk3 depends = toxcore depends = glib2 @@ -2,14 +2,13 @@ pkgname=ricin-git _pkgname=Ricin -_submodule=tox-vapi -pkgver=0.652.786de97 +pkgver=0.668.96cf22c pkgrel=1 pkgdesc="A dead-simple but powerful Tox client." -url="https://github.com/RicinApp/Ricin" +url="https://ricin.im/" arch=('i686' 'x86_64') license=('GPL3') -makedepends=('git' 'meson' 'ninja' 'vala') +makedepends=('git' 'vala' 'python') depends=('gtk3' 'toxcore' 'glib2' @@ -31,17 +30,17 @@ pkgver() { build() { cd "${srcdir}/${_pkgname}" - make autogen - make release - - cd build - mesonconf.py -Dprefix=/usr + echo $pkgdir + ./waf distclean + ./waf configure --prefix=${pkgdir}/usr --bindir=${pkgdir}/usr/bin + ./waf build } package() { cd "${srcdir}/${_pkgname}" + ./waf install - make DESTDIR=$pkgdir install # cover ${pkgdir}/usr/bin/Ricin" + rm "${pkgdir}/usr/bin/${_pkgname}" install -Dm755 "build/${_pkgname}" "${pkgdir}/usr/bin/ricin" } |