[arch-commits] Commit in libco/repos (community-x86_64 community-x86_64/PKGBUILD)

Morten Linderud foxboron at archlinux.org
Fri Jan 31 12:24:48 UTC 2020


    Date: Friday, January 31, 2020 @ 12:24:48
  Author: foxboron
Revision: 560743

archrelease: copy trunk to community-x86_64

Added:
  libco/repos/community-x86_64/
  libco/repos/community-x86_64/PKGBUILD
    (from rev 560742, libco/trunk/PKGBUILD)

----------+
 PKGBUILD |   23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Copied: libco/repos/community-x86_64/PKGBUILD (from rev 560742, libco/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-01-31 12:24:48 UTC (rev 560743)
@@ -0,0 +1,23 @@
+# Maintainer: Morten Linderud <foxboron at 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"
+}



More information about the arch-commits mailing list