summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrey Christoforo2016-07-07 16:01:32 +0100
committerGrey Christoforo2016-07-07 16:01:32 +0100
commitad7dd1f18c989248f35042d94913a60714f79236 (patch)
tree8c93ec1e0922ef8a414f0b6b7c13c549465fbf0a
parentdd63f16afcb05c983634446fc9a32bef4b016555 (diff)
downloadaur-ad7dd1f18c989248f35042d94913a60714f79236.tar.gz
version bump to 334, moved install dir to /opt
-rw-r--r--.SRCINFO8
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD34
3 files changed, 20 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7758035969b..39f8ad09b25 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sun Apr 24 09:02:41 UTC 2016
+# Thu Jul 7 15:01:07 UTC 2016
pkgbase = ucsc-kent-genome-tools
pkgdesc = UCSC genome browser 'kent' bioinformatic utilities
- pkgver = 331
+ pkgver = 334
pkgrel = 1
url = http://hgdownload.soe.ucsc.edu/admin/exe/
install = ucsc-kent-genome-tools.install
@@ -12,8 +12,8 @@ pkgbase = ucsc-kent-genome-tools
depends = mariadb-clients
depends = libpng
depends = openssl
- source = http://hgdownload.soe.ucsc.edu/admin/exe/userApps.v331.src.tgz
- sha1sums = d2a99387a559ae525f078dbfdaa4ab7158098331
+ source = http://hgdownload.soe.ucsc.edu/admin/exe/userApps.v334.src.tgz
+ sha1sums = a60504c54cab7e4287d45160f7db53ab881eaf91
pkgname = ucsc-kent-genome-tools
diff --git a/.gitignore b/.gitignore
index 964fda0e6b5..bb3f5f7ac9e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,5 +2,6 @@
*.tar.xz
*.tgz
*.tar
+*.pkg.tar
pkg/
src/
diff --git a/PKGBUILD b/PKGBUILD
index f4f6eb15520..18437e27b24 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Grey Christoforo <first name [at] last name [dot] net>
pkgname=ucsc-kent-genome-tools
-pkgver=331
+pkgver=334
pkgrel=1
pkgdesc="UCSC genome browser 'kent' bioinformatic utilities"
arch=('i686' 'x86_64')
@@ -10,7 +10,7 @@ license=('other')
install=$pkgname.install
depends=('mariadb-clients' 'libpng' 'openssl')
source=(http://hgdownload.soe.ucsc.edu/admin/exe/userApps.v${pkgver}.src.tgz)
-sha1sums=('d2a99387a559ae525f078dbfdaa4ab7158098331')
+sha1sums=('a60504c54cab7e4287d45160f7db53ab881eaf91')
prepare() {
cd "${srcdir}/userApps/"
@@ -18,35 +18,31 @@ prepare() {
}
build() {
- cd "${srcdir}/userApps/"
-
- # not sure why this is required
- make libs
- cp kent/src/lib/x86_64/* kent/src/lib/local/.
- cp kent/src/lib/local/* kent/src/lib/x86_64/.
+ cd "${srcdir}/userApps/"
- make all
+ make all
}
package() {
- cd "${srcdir}/userApps/"
- mkdir -p "${pkgdir}/usr/bin/"
- mv bin/ "${pkgdir}/usr/bin/kentUtils/"
+ cd "${srcdir}/userApps/"
+ mkdir -p "${pkgdir}/opt/${pkgname}/"
+ cp -a * "${pkgdir}/opt/${pkgname}/."
+ rm -rf "${pkgdir}/opt/${pkgname}/kent"
- mkdir -p "$pkgdir/etc/profile.d"
- echo "export PATH=/usr/bin/kentUtils:"'$PATH' > "$pkgdir/etc/profile.d/kentUtils.sh"
+ mkdir -p "$pkgdir/etc/profile.d"
+ echo "export PATH=/opt/${pkgname}/bin:"'$PATH' > "$pkgdir/etc/profile.d/${pkgname}.sh"
+ chmod +x "$pkgdir/etc/profile.d/${pkgname}.sh"
- mkdir -p "${pkgdir}/opt/kentUtils/"
-cat > "${pkgdir}/opt/kentUtils/.hg.conf" <<EOF
+ cat > "${pkgdir}/opt/${pkgname}/.hg.conf" <<EOF
db.host=genome-mysql.cse.ucsc.edu
db.user=genomep
db.password=password
central.db=hgcentral
EOF
- install -D -m644 licenseUcscGenomeBrowser.txt "${pkgdir}/usr/share/licenses/kentUtils/licenseUcscGenomeBrowser.txt"
- install -D -m644 GenomeBrowserLicense.pdf "${pkgdir}/usr/share/licenses/kentUtils/GenomeBrowserLicense.pdf"
- install -D -m644 licenseBlat.txt "${pkgdir}/usr/share/licenses/kentUtils/licenseBlat.txt"
+ install -D -m644 licenseUcscGenomeBrowser.txt "${pkgdir}/usr/share/licenses/${pkgname}/licenseUcscGenomeBrowser.txt"
+ install -D -m644 GenomeBrowserLicense.pdf "${pkgdir}/usr/share/licenses/${pkgname}/GenomeBrowserLicense.pdf"
+ install -D -m644 licenseBlat.txt "${pkgdir}/usr/share/licenses/${pkgname}/licenseBlat.txt"
}
# vim:set ts=2 sw=2 et: