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

Eli Schwartz eschwartz at archlinux.org
Wed Jul 10 05:46:13 UTC 2019


    Date: Wednesday, July 10, 2019 @ 05:46:12
  Author: eschwartz
Revision: 488472

archrelease: copy trunk to community-x86_64

Added:
  samurai/repos/community-x86_64/
  samurai/repos/community-x86_64/PKGBUILD
    (from rev 488471, samurai/trunk/PKGBUILD)

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

Copied: samurai/repos/community-x86_64/PKGBUILD (from rev 488471, samurai/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2019-07-10 05:46:12 UTC (rev 488472)
@@ -0,0 +1,26 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor : Drew DeVault <sir at cmpwn.com>
+
+pkgname=samurai
+pkgver=0.7
+pkgrel=1
+pkgdesc="ninja-compatible build tool written in C"
+arch=('x86_64')
+url="https://github.com/michaelforney/${pkgname}"
+license=('ISC' 'Apache' 'MIT')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('e079e8de3b07ba0f1fffe2dff31c1fcb3be357c523abc6937108635a081a11f0')
+b2sums=('24d4460adbbde4560498d79799c467fdd10ae68db119a70d76d9bba0ab717c8b154d21c233c7ce6310b76436d8aa6d0d2afb76056adf782ef48de4491acfcaa1')
+
+build() {
+    cd "${srcdir}"/${pkgname}-${pkgver}
+
+    make samu
+}
+
+package() {
+    cd "${srcdir}"/${pkgname}-${pkgver}
+
+    make install PREFIX=/usr DESTDIR="${pkgdir}"
+    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}



More information about the arch-commits mailing list