summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 51012ef3a6d6b7be96bfb77d1773084df00fc112 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: Grey Christoforo <first name [at] last name [dot] net>

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.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)

build(){
msg "building"
#TODO: build the python stuff
}

package() {
#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:#