Date: Friday, January 31, 2020 @ 12:24:36 Author: foxboron Revision: 560742
upgpkg: libco 20-2 Added: libco/trunk/PKGBUILD ----------+ PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) Added: PKGBUILD =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-01-31 12:24:36 UTC (rev 560742) @@ -0,0 +1,23 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Contributor: Thomas Hipp <thomashipp at gmail dot com> + +pkgname=libco +pkgver=20 +pkgrel=2 +pkgdesc="Cooperative multithreading library" +arch=('x86_64') +url="https://github.com/canonical/libco" +license=('ISC') +source=("$pkgname-$pkgver.tar.gz::https://github.com/canonical/${pkgname}/archive/v${pkgver}.tar.gz") +sha256sums=('6d6d6ada15a36224ee4aa59b8361c4b90f1ffb6c077b4932aa6e6344ee91be0e') + +build() { + cd "$pkgname-$pkgver" + make +} + +package() { + cd "$pkgname-$pkgver" + DESTDIR="${pkgdir}" make install + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}