diff options
-rw-r--r-- | .SRCINFO | 28 | ||||
-rw-r--r-- | PKGBUILD | 42 |
2 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..85ba1f494759 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,28 @@ +# Generated by mksrcinfo v8 +# Sun Apr 10 15:57:06 UTC 2016 +pkgbase = ricin + pkgdesc = A dead-simple but powerful Tox client. + pkgver = 0.0.4.1 + pkgrel = 1 + url = https://github.com/RicinApp/Ricin + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = git + makedepends = meson-git + makedepends = ninja + makedepends = vala + depends = gtk3 + depends = toxcore + depends = glib2 + depends = json-glib + depends = libsoup + depends = libnotify + depends = libconfig + provides = ricin + conflicts = ricin + source = https://github.com/RicinApp/Ricin/archive/v0.0.4.1.tar.gz + sha256sums = ac27f0f02e30262a2e3a87932be3d0ac05be826119b4cec6516c8bf26e366995 + +pkgname = ricin + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ef0331efee8d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Yuexuan Gu <lastavengers@outlook.com> + +pkgname=ricin +_pkgname=Ricin +pkgver=0.0.4.1 +pkgrel=1 +pkgdesc="A dead-simple but powerful Tox client." +url="https://github.com/RicinApp/Ricin" +arch=('i686' 'x86_64') +license=('GPL3') +makedepends=('git' 'meson-git' 'ninja' 'vala') +depends=('gtk3' + 'toxcore' + 'glib2' + 'json-glib' + 'libsoup' + 'libnotify' + 'libconfig' + ) + +source=("https://github.com/RicinApp/${_pkgname}/archive/v${pkgver}.tar.gz") +sha256sums=('ac27f0f02e30262a2e3a87932be3d0ac05be826119b4cec6516c8bf26e366995') +provides=('ricin') +conflicts=('ricin') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + make autogen + make release + + cd build + mesonconf.py -Dprefix=/usr +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + make DESTDIR=$pkgdir install + # cover ${pkgdir}/usr/bin/Ricin" + install -Dm755 "build/${_pkgname}" "${pkgdir}/usr/bin/ricin" +} |