[arch-commits] Commit in uutils-coreutils/trunk (PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Mon Apr 13 17:18:02 UTC 2020
Date: Monday, April 13, 2020 @ 17:18:01
Author: ffy00
Revision: 613695
upgpkg: uutils-coreutils 0.0.1-1
Added:
uutils-coreutils/trunk/PKGBUILD
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Added: PKGBUILD
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-13 17:18:01 UTC (rev 613695)
@@ -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