Created
May 10, 2016 15:15
-
-
Save SkyzohKey/97d014ef67c9236ac988851e2a0ed11c to your computer and use it in GitHub Desktop.
Ricin new pkgbuild with waf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Yuexuan Gu <[email protected]> | |
pkgname=ricin-git | |
_pkgname=Ricin | |
_submodule=tox-vapi | |
pkgver=0.652.786de97 | |
pkgrel=1 | |
pkgdesc="A dead-simple but powerful Tox client." | |
url="https://github.com/RicinApp/Ricin" | |
arch=('i686' 'x86_64') | |
license=('GPL3') | |
makedepends=('git' 'python' 'vala') | |
depends=( | |
'gtk3' | |
'toxcore' | |
'glib2' | |
'json-glib' | |
'libsoup' | |
'libnotify' | |
) | |
source=("git+https://github.com/RicinApp/Ricin.git") | |
sha256sums=('SKIP') | |
provides=('ricin') | |
conflicts=('ricin') | |
pkgver() { | |
cd "${srcdir}/${_pkgname}" | |
echo "0.$(git rev-list --count HEAD).$(git describe --always)" | |
} | |
build() { | |
cd "${srcdir}/${_pkgname}" | |
./waf distclean | |
./waf configure --prefix=$pkgdir | |
./waf build | |
} | |
package() { | |
cd "${srcdir}/${_pkgname}" | |
./waf install | |
# cover ${pkgdir}/usr/bin/Ricin" | |
install -Dm755 "build/${_pkgname}" "${pkgdir}/usr/bin/ricin" | |
} |
- ./waf configure --prefix=$pkgdir
+ ./waf configure --prefix=${pkgdir}/usr --bindir=${pkgdir}/usr/bin
Sorry for replying so late, I am quite busy recently.
Packages have updated.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@LastAvengers Here is the updated PKGBUILD, hope it works. ;)