Date: Sunday, January 29, 2023 @ 20:21:31 Author: blakkheim Revision: 1391092
upgpkg: bmake 20230127-1 Modified: bmake/trunk/PKGBUILD ----------+ PKGBUILD | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-01-29 20:19:19 UTC (rev 1391091) +++ PKGBUILD 2023-01-29 20:21:31 UTC (rev 1391092) @@ -5,34 +5,26 @@ # Contributor: Imanol Celaya <[email protected]> pkgname=bmake -pkgver=20230126 +pkgver=20230127 pkgrel=1 pkgdesc='Portable version of the NetBSD make build tool' arch=(x86_64) url='https://www.crufty.net/help/sjg/bmake.html' license=(BSD) -# upstream recommends using python for improved meta2deps script -depends=(python) +optdepends=('python: for meta2deps.py script') source=("https://www.crufty.net/ftp/pub/sjg/bmake-$pkgver.tar.gz"{,.asc}) -sha256sums=('864f7218582cf790ec73b20b7105425cb9ffa335222541772f0313306b6a0bc4' +sha256sums=('6056866f69496699c815b2af7144701fce7f1ccb6a4743dac5d221ff157d8915' 'SKIP') validpgpkeys=(7E228507C26D8DC164F531BFBA54C8AF755A2A99) build() { - cd bmake - ./boot-strap --prefix=/usr op=build + cd bmake + ./configure --prefix=/usr + make } -# op=build also runs unit tests; thus no check() - package() { - cd bmake - - ./boot-strap --install-destdir="$pkgdir" --prefix=/usr op=install - - rm -rf "$pkgdir/usr/share/man/cat1" - install -Dm644 bmake.1 "$pkgdir/usr/share/man/man1/bmake.1" - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE - - chmod 755 "$pkgdir/usr/bin" "$pkgdir/usr/share/man/man1" + cd bmake + make DESTDIR="$pkgdir" install + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ }
