Date: Saturday, February 15, 2020 @ 16:41:53 Author: ainola Revision: 571744
archrelease: copy trunk to community-x86_64 Added: scdoc/repos/community-x86_64/PKGBUILD (from rev 571743, scdoc/trunk/PKGBUILD) Deleted: scdoc/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 64 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-02-15 16:41:46 UTC (rev 571743) +++ PKGBUILD 2020-02-15 16:41:53 UTC (rev 571744) @@ -1,32 +0,0 @@ -# Maintainer: Ainola <ain...@archlinux.org> -# Contributor: Drew DeVault - -pkgname=scdoc -pkgver=1.10.0 -pkgrel=1 -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=('546743376380d84aa9c8be65529dbbe1634e574203220ce1c057341436bd3a15297f393ca79d29372cb125bf457cfc00f64ba2867b8d2e910ca6531acb552e97') - -build() { - cd "$pkgname-$pkgver" - # Upstream purposefully does not honor the user's LDFLAGS in order to keep - # scdoc static. As we gain no benefit to statically linking and, in fact, - # lose standard Arch practices (such as RELRO and PIE), we must override - # LDFLAGS - make PREFIX=/usr LDFLAGS="$LDFLAGS" -} - -check() { - cd "$pkgname-$pkgver" - make check -} - -package() { - cd "$pkgname-$pkgver" - make PREFIX=/usr DESTDIR="$pkgdir" install - install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname" -} Copied: scdoc/repos/community-x86_64/PKGBUILD (from rev 571743, scdoc/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-02-15 16:41:53 UTC (rev 571744) @@ -0,0 +1,32 @@ +# Maintainer: Ainola <ain...@archlinux.org> +# Contributor: Drew DeVault + +pkgname=scdoc +pkgver=1.10.1 +pkgrel=1 +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=('356aee85c4676a1fbd7367c6087dd7f6f4d33793be0f3fef74803ceb93c0a9e45c78022d219dc08a7d79d71c393849fa3113c36a85d5d60ed474b62bf5f89743') + +build() { + cd "$pkgname-$pkgver" + # Upstream purposefully does not honor the user's LDFLAGS in order to keep + # scdoc static. As we gain no benefit to statically linking and, in fact, + # lose standard Arch practices (such as RELRO and PIE), we must override + # LDFLAGS + make PREFIX=/usr LDFLAGS="$LDFLAGS" +} + +check() { + cd "$pkgname-$pkgver" + make check +} + +package() { + cd "$pkgname-$pkgver" + make PREFIX=/usr DESTDIR="$pkgdir" install + install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname" +}