upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / lfs / trunk / PKGBUILD
blobbcc45039d9e2887b8a85e28a6d5840ec852dcd9f
1 # Maintainer: Orhun Parmaksız <orhun@archlinux.org>
3 pkgname=lfs
4 pkgver=2.6.0
5 pkgrel=1
6 pkgdesc="Get information on your mounted filesystems"
7 arch=('x86_64')
8 url="https://github.com/Canop/lfs"
9 license=('MIT')
10 depends=('gcc-libs')
11 makedepends=('cargo')
12 source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
13 sha512sums=('1e640ed0fc0b8d0932999c129557252713a25aadbbbcdd11c54bde5c7bc644b5bc601a9e553ea004e3c10c5f02673fdc02b886b4b10185a1945b7418e5a7e45f')
15 prepare() {
16   cd "$pkgname-$pkgver"
17   cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
20 build() {
21   cd "$pkgname-$pkgver"
22   cargo build --release --frozen
25 package() {
26   cd "$pkgname-$pkgver"
27   install -Dm 755 "target/release/$pkgname" -t "$pkgdir/usr/bin"
28   install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
29   install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
32 # vim: ts=2 sw=2 et: