Skip to content

Instantly share code, notes, and snippets.

@SkyzohKey SkyzohKey/PKGBUILD
Created May 10, 2016

Embed
What would you like to do?
Ricin new pkgbuild with waf
# Maintainer: Yuexuan Gu <lastavengers@outlook.com>
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"
}
@SkyzohKey

This comment has been minimized.

Copy link
Owner Author

commented May 10, 2016

@LastAvengers Here is the updated PKGBUILD, hope it works. ;)

@SilverRainZ

This comment has been minimized.

Copy link

commented May 17, 2016

-    ./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
You can’t perform that action at this time.