diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 11 insertions, 14 deletions
@@ -3,21 +3,21 @@ # Contributer: TryA - https://bbs.archlinux.org/viewtopic.php?id=114996 pkgname=mprime -pkgver=303b6 +pkgver=307b9 pkgrel=1 pkgdesc="A GIMPS, distributed computing project client, dedicated to finding Mersenne primes." -arch=('x86_64') +arch=(x86_64) url="http://www.mersenne.org" license=('custom') -depends=('curl' 'hwloc') -conflicts=('mprime-bin') +depends=(curl hwloc boost) +conflicts=(mprime-bin) source=("http://www.mersenne.org/ftp_root/gimps/p95v${pkgver}.source.zip" -unfuck_makefile.patch) -b2sums=('c501308cd06f1cb66dd252cced4206ef5338b695d9fc571ea37d19bd23e2ca677c4fdd4f8f94fa5338ba4aee34b051b722d8d8653cfb758ea8354334f5c4653b' - 'd948f4249bcad1d70a156cfa9dcbaf79f035aa41b86337932c79a03f9c30954ac8b21cd627b54ab18e8b7855dc2549eb377cccc3d8060e25df7bceba0c672e38') +0001-makefile-fix-build-for-Arch-Linux.patch) +b2sums=('0902ffb2263fc1da4f4dd17daceaeff211370e3552b9d5d411721fa3d567c36b822cccda85a10262ca5ca162f83066574a45ab2ec7c6277f63d2099c8cc5d85a' + 'e80b00415ae4dddc03213ddacdb37161984a9c07be2e2a0ed6210c2f9cbe293c74f74c39a1ea81a15d2db502654fbf174cf5adf5839dfba98d8e2c4669d8d814') prepare () { - patch -Np1 -i unfuck_makefile.patch + patch -Np1 -i 0001-makefile-fix-build-for-Arch-Linux.patch } build() { @@ -32,10 +32,7 @@ package() { install -Dm755 linux64/mprime "$pkgdir/usr/bin/mprime" # license and documentation - # x86_64 tarball for 279 includes none of these - #install -Dm644 license.txt "$pkgdir/usr/share/licenses/$pkgname/license.txt" - #install -Dm644 readme.txt "$pkgdir/usr/share/doc/$pkgname/readme.txt" - #install -Dm644 stress.txt "$pkgdir/usr/share/doc/$pkgname/stress.txt" - #install -Dm644 undoc.txt "$pkgdir/usr/share/doc/$pkgname/undoc.txt" - #install -Dm644 whatsnew.txt "$pkgdir/usr/share/doc/$pkgname/whatsnew.txt" + install -Dm644 gwnum/readme.txt "$pkgdir/usr/share/doc/$pkgname/readme.txt" + install -Dm644 gwnum/tutorial.txt "$pkgdir/usr/share/doc/$pkgname/tutorial.txt" + cp -r prime95/hlp "$pkgdir/usr/share/doc/$pkgname" } |