Date: Thursday, December 6, 2018 @ 23:38:01 Author: ainola Revision: 412011
archrelease: copy trunk to community-testing-x86_64 Added: scdoc/repos/community-testing-x86_64/ scdoc/repos/community-testing-x86_64/PKGBUILD (from rev 412010, scdoc/trunk/PKGBUILD) ----------+ PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) Copied: scdoc/repos/community-testing-x86_64/PKGBUILD (from rev 412010, scdoc/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2018-12-06 23:38:01 UTC (rev 412011) @@ -0,0 +1,23 @@ +# Maintainer: Ainola +# Contributor: Drew DeVault + +pkgname=scdoc +pkgver=1.6.0 +pkgrel=2 +license=('MIT') +pkgdesc='tool for generating roff manual pages' +arch=('x86_64') +url='https://git.sr.ht/~sircmpwn/scdoc/' +source=("$pkgname-$pkgver.tar.gz::https://git.sr.ht/~sircmpwn/$pkgname/archive/$pkgver.tar.gz") +sha512sums=('18dade6bb27dbe6d112478bbbc08239b384c2334f37418b94d5f5b25713697d9d854ebb08cc62ed6e68b55a01326ea207614e4f79976536ec800029cc55f8b4b') + +build() { + cd "$pkgname-$pkgver" + make PREFIX=/usr +} + +package() { + cd "$pkgname-$pkgver" + make PREFIX=/usr DESTDIR="$pkgdir" install + install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname" +}