[arch-commits] Commit in uutils-coreutils/repos (2 files)

Filipe Laíns ffy00 at archlinux.org
Mon Apr 13 17:18:13 UTC 2020


    Date: Monday, April 13, 2020 @ 17:18:11
  Author: ffy00
Revision: 613696

archrelease: copy trunk to community-x86_64

Added:
  uutils-coreutils/repos/community-x86_64/
  uutils-coreutils/repos/community-x86_64/PKGBUILD
    (from rev 613695, uutils-coreutils/trunk/PKGBUILD)

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

Copied: uutils-coreutils/repos/community-x86_64/PKGBUILD (from rev 613695, uutils-coreutils/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-04-13 17:18:11 UTC (rev 613696)
@@ -0,0 +1,27 @@
+# Maintainer: Filipe Laíns (ffy00) <lains at archlinux.org>
+
+_pkgname=coreutils
+pkgname=uutils-$_pkgname
+pkgver=0.0.1
+pkgrel=1
+pkgdesc='Cross-platform Rust rewrite of the GNU coreutils'
+arch=('x86_64')
+url='https://github.com/uutils/coreutils'
+license=('MIT')
+makedepends=('rust' 'cargo' 'python-sphinx')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('b873add1b77ede0225d504ac72a34459dfa86dcfb0f35c17a14cbe46e83ba51e9de7b14c6229c35a70dc539b2955db1c98c87abe4a508bd1a796caddd869295f')
+
+package() {
+  cd $_pkgname-$pkgver
+
+  make \
+      DESTDIR="$pkgdir" \
+      PREFIX=/usr \
+      MANDIR=/share/man/man1 \
+      PROG_PREFIX=uu- \
+      install
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+



More information about the arch-commits mailing list