summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d0db717916700e1fcd516b0fa2aaf2df806d00aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Dennis W├Âlfing <denniswoelfing at gmx dot de>

pkgname=rw
pkgver=1.0
pkgrel=2
pkgdesc="Blockwise input/output"
arch=('x86_64')
url="https://sortix.org/rw"
license=('custom:ISC')
depends=('glibc')
source=(https://sortix.org/rw/release/rw-portable-${pkgver}.tar.gz)
sha256sums=('50009730e36991dfe579716f91f4f616f5ba05ffb7bf69c03d41bf305ed93b6d')

build() {
	cd rw-portable-${pkgver}
	make
}

package() {
	cd rw-portable-${pkgver}
	make DESTDIR="$pkgdir" PREFIX=/usr install
	install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}