summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Krause2015-06-25 12:57:58 +0200
committerChristian Krause2015-06-25 12:57:58 +0200
commit3ecf4d3d48bd04bd3422836c93d149f4541d4b6f (patch)
tree1fe8b0a34a476b57ee4fe0df907d46635307aca1
parentbc37b181a1704710cd39d8941fbb0361bdece666 (diff)
downloadaur-3ecf4d3d48bd04bd3422836c93d149f4541d4b6f.tar.gz
unknown license
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c91cf9614b60..5acf6a89408b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,7 +5,7 @@ pkgbase = phylobayes
url = http://megasun.bch.umontreal.ca/People/lartillot/www/index.htm
arch = i686
arch = x86_64
- license = GPL2
+ license = custom
depends = gcc-libs
conflicts = phylobayes-mpi
source = http://megasun.bch.umontreal.ca/People/lartillot/www/phylobayes4.1b.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
index 0d18460facb3..7839e677da2a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgrel=1
pkgdesc="phylogenetic reconstruction using infinite mixtures"
arch=('i686' 'x86_64')
url="http://megasun.bch.umontreal.ca/People/lartillot/www/index.htm"
-license=('GPL2')
+license=('custom')
conflicts=(phylobayes-mpi)
depends=('gcc-libs')
source=("http://megasun.bch.umontreal.ca/People/lartillot/www/${pkgname}${pkgver}.tar.gz")
@@ -21,9 +21,11 @@ build() {
package() {
cd $srcdir/${pkgname}${pkgver}/data
- mkdir -p $pkgdir/usr/bin
+ mkdir -p $pkgdir/usr/bin $pkgdir/usr/share/licenses/$pkgname
find -mindepth 1 -maxdepth 1 -type f -printf '%P\n' | while read file ; do
cp $file $pkgdir/usr/bin
done
+
+ echo 'unknown' > $pkgdir/usr/share/licenses/$pkgname/LICENSE
}