mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
polish the PKGBUILD
This commit is contained in:
parent
7e4260b0ca
commit
a42c541d82
1 changed files with 5 additions and 4 deletions
|
@ -6,18 +6,19 @@ pkgrel=1
|
|||
pkgdesc="free population genetics software"
|
||||
arch=('x86_64')
|
||||
url="http://popart.otago.ac.nz/index.shtml"
|
||||
license=('custom')
|
||||
license=('LGPLv2')
|
||||
depends=('marble' 'lpsolve' 'qt5-base')
|
||||
makedepends=('git')
|
||||
source=("git+https://github.com/jessicawleigh/popart-current.git" "popart.desktop")
|
||||
md5sums=('SKIP'
|
||||
'44802b43fa5dba142dbb20cc32e15f45')
|
||||
|
||||
|
||||
package() {
|
||||
build() {
|
||||
cd $srcdir/${pkgname}-current
|
||||
qmake -makefile LPSOLVEDIR=/usr/bin/lp_solve MARBLEDIR=/usr/bin/marble popart.pro
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
install -d "$pkgdir"/usr/{bin,share/{popart,applications}}
|
||||
mv "$srcdir"/popart-current/* "$pkgdir"/usr/share/popart
|
||||
ln -s /usr/share/popart/popart "$pkgdir"/usr/bin/popart
|
||||
|
|
Loading…
Add table
Reference in a new issue