[arch-commits] Commit in lfs/repos (community-x86_64 community-x86_64/PKGBUILD)
Orhun Parmaksiz
orhun at archlinux.org
Wed Jun 23 19:50:35 UTC 2021
Date: Wednesday, June 23, 2021 @ 19:50:35
Author: orhun
Revision: 967131
archrelease: copy trunk to community-x86_64
Added:
lfs/repos/community-x86_64/
lfs/repos/community-x86_64/PKGBUILD
(from rev 967130, lfs/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: lfs/repos/community-x86_64/PKGBUILD (from rev 967130, lfs/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2021-06-23 19:50:35 UTC (rev 967131)
@@ -0,0 +1,27 @@
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+
+pkgname=lfs
+pkgver=0.7.0
+pkgrel=1
+pkgdesc="Get information on your mounted disks"
+arch=('x86_64')
+url="https://github.com/Canop/lfs"
+license=('MIT')
+depends=('gcc-libs')
+makedepends=('rust')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('82cfccc813a243f042a7b128edab3ff826ba8ae7716527e61386a8e4f56c4204c50481d720c736cfde698d4e4c8b97e99c9df1f6bde2a9321fa617582339ad3e')
+
+build() {
+ cd "$pkgname-$pkgver"
+ cargo build --release --locked
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
+ install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+ install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list