updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ols / PKGBUILD
blob6ce4ea4e5050902b65f6511e9c36365961ed9587
1 # Maintainer: kfgz <kfgz at interia dot pl>
3 pkgname=ols
4 pkgver=0.9.5
5 #_r_ver=0.9.5
6 pkgrel=1
7 pkgdesc="A software client for the Open Bench Logic Sniffer logic analyser hardware."
8 url="http://ols.lxtreme.nl/"
9 license=('GPL')
10 depends=('java-runtime')
11 #source=(${url}/${pkgname}-${_r_ver}-b2-full.tar.gz
12 source=(${url}/${pkgname}-${pkgver}-full.tar.gz
13         ${pkgname}
14         ${pkgname}.desktop
15         ${pkgname}.png)
16 arch=('any')
17 install="${pkgname}.install"
18 md5sums=('930170e522fc851bacf0ece4dcbdff43'
19          '7503e8fd7b6d99a916eaf8a68378224b'
20          '019dda14116456715fb6d16d1ac4bdc8'
21          'e22239705b9b8e6c29a5058ab863aa2b')
22                  
23 package() {
24   cd "${srcdir}"
25   install -D -m755 ${pkgname} "${pkgdir}"/usr/bin/logic_sniffer
26   install -D -m644 ${pkgname}.desktop "${pkgdir}"/usr/share/applications/${pkgname}.desktop
27   install -D -m644 ${pkgname}.png "${pkgdir}"/opt/${pkgname}/${pkgname}.png
28   cd "${srcdir}"/${pkgname}-${pkgver}
29   #cd "${srcdir}"/${pkgname}-${_r_ver}-b2
30   cp -ax * "${pkgdir}"/opt/${pkgname}
31   rm "${pkgdir}"/opt/${pkgname}/run.bat