summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD21
2 files changed, 18 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dce1e1e3bf8..5d369f81fec 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,15 @@
# Generated by mksrcinfo v8
-# Wed Jan 20 11:42:48 UTC 2016
+# Wed Jan 20 12:58:08 UTC 2016
pkgbase = weblogo
pkgdesc = A web based application designed to make the generation of sequence logos as easy and painless as possible
pkgver = 3.4.1
pkgrel = 1
- url = http://weblogo.berkeley.edu//
+ url = http://weblogo.threeplusone.com
arch = i686
arch = x86_64
license = custom (MIT)
depends = ghostscript
+ optdepends = python
source = https://github.com/WebLogo/weblogo/archive/3.4.1.tar.gz
md5sums = 7201942b419ca8fbb9395a11b0e34f9c
diff --git a/PKGBUILD b/PKGBUILD
index b981e9c004a..51012ef3a6d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,24 +4,33 @@ pkgname=weblogo
pkgver=3.4.1
pkgrel=1
pkgdesc="A web based application designed to make the generation of sequence logos as easy and painless as possible"
-url="http://weblogo.berkeley.edu//"
+url="http://weblogo.threeplusone.com"
arch=('i686' 'x86_64')
license=('custom (MIT)')
+optdepends=('python')
depends=('ghostscript')
source=("https://github.com/WebLogo/${pkgname}/archive/${pkgver}.tar.gz")
md5sums=('7201942b419ca8fbb9395a11b0e34f9c')
#options=(!strip docs libtool emptydirs !zipman staticlibs !upx)
-prepare(){
-msg "preparing"
-}
-
build(){
msg "building"
+#TODO: build the python stuff
}
package() {
-msg "packaging"
+#TODO: install the python stuff
+
+# put the src into opt
+mkdir -p "${pkgdir}/opt/${pkgname}"
+cp -a ${srcdir}/${pkgname}-${pkgver}/* "${pkgdir}/opt/${pkgname}/."
+
+# link the exe
+mkdir -p ${pkgdir}/usr/bin
+ln -s /opt/${pkgname}/weblogo ${pkgdir}/usr/bin/.
+
+# install license file
+install -m644 -D "${srcdir}/${pkgname}-${pkgver}/LICENSE.txt" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
# vim:set ts=2 sw=2 et:#