Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

bt747: use upstream icon

  • Loading branch information...
commit 2357c92a86d668df17d2d2e9530c2af09e391843 1 parent b218d37
@City-busz authored
Showing with 18 additions and 16 deletions.
  1. +1 −0  .gitignore
  2. +17 −16 apps-map/bt747/bt747/PKGBUILD
View
1  .gitignore
@@ -10,6 +10,7 @@ patched/
*.oxt
*.png
*.svg
+*.gif
*.xpi
*.run
*~
View
33 apps-map/bt747/bt747/PKGBUILD
@@ -2,38 +2,39 @@
pkgname=bt747
_pkgname=BT747
pkgver=2.0.3
-pkgrel=1
+pkgrel=2
pkgdesc="The swiss army knife for MTK loggers"
arch=('any')
url="http://bt747.org/"
license=('GPL')
depends=('java-runtime' 'rxtx')
-makedepends=('unzip')
+makedepends=('imagemagick')
source=(http://downloads.sourceforge.net/$pkgname/${_pkgname}_${pkgver}_full.zip
- $pkgname.png::http://www.gravatar.com/avatar/a93b28dc03c0fffb7d8f8fa1a0181a01
+ http://www.bt747.org/icon/${pkgname}_128x128.gif
$pkgname.desktop)
md5sums=('941ca78c787487eabd74d1de1a88e5f4'
- 'abd07d169199f409d764d4f5f79589a2'
+ '01a6c5989735d18d57756f51c41305ba'
'8d0c25cbbfca16dfd102f2d43d54bd85')
build() {
cd "$srcdir"
- _installdir=$pkgdir/usr/share/java/$pkgname
- install -D -m644 lib/jchart2d-3.1.0.jar $_installdir/lib/jchart2d-3.1.0.jar
- install -D -m644 lib/jopt-simple-2.4.1.jar $_installdir/lib/jopt-simple-2.4.1.jar
- install -D -m644 lib/jcalendar-1.3.2.jar $_installdir/lib/jcalendar-1.3.2.jar
- install -D -m644 lib/swing-layout-1.0.3.jar $_installdir/lib/swing-layout-1.0.3.jar
- install -D -m644 lib/swingx.jar $_installdir/lib/swingx.jar
- install -D -m644 lib/swingx-ws.jar $_installdir/lib/swingx-ws.jar
- install -D -m644 dist/libBT747.jar $_installdir/dist/libBT747.jar
- install -D -m644 dist/BT747_j2se.jar $_installdir/dist/BT747_j2se.jar
+ convert "${pkgname}_128x128.gif" "${pkgname}_128x128.png"
+ _installdir="$pkgdir"/usr/share/java/$pkgname
+ install -D -m644 lib/jchart2d-3.1.0.jar "$_installdir"/lib/jchart2d-3.1.0.jar
+ install -D -m644 lib/jopt-simple-2.4.1.jar "$_installdir"/lib/jopt-simple-2.4.1.jar
+ install -D -m644 lib/jcalendar-1.3.2.jar "$_installdir"/lib/jcalendar-1.3.2.jar
+ install -D -m644 lib/swing-layout-1.0.3.jar "$_installdir"/lib/swing-layout-1.0.3.jar
+ install -D -m644 lib/swingx.jar "$_installdir"/lib/swingx.jar
+ install -D -m644 lib/swingx-ws.jar "$_installdir"/lib/swingx-ws.jar
+ install -D -m644 dist/libBT747.jar "$_installdir"/dist/libBT747.jar
+ install -D -m644 dist/BT747_j2se.jar "$_installdir"/dist/BT747_j2se.jar
sed -i 's|^ROOT_DIR=.*|ROOT_DIR=/usr/share/java/bt747|
s|/usr/share/java/RXTXcomm.jar|/usr/share/java/rxtx/RXTXcomm.jar|
s|bt747.j2se_view.BT747Main $\* &|-Dbt747_settings="$XDG_CONFIG_HOME/bt747/bt747settings.pdb" bt747.j2se_view.BT747Main $\*|' ./run_j2se.sh
- install -D -m755 ./run_j2se.sh $pkgdir/usr/bin/$pkgname
+ install -D -m755 ./run_j2se.sh "$pkgdir"/usr/bin/$pkgname
- install -D -m644 $pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
- install -D -m644 $pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png
+ install -D -m644 $pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
+ install -D -m644 ${pkgname}_128x128.png "$pkgdir"/usr/share/pixmaps/$pkgname.png
}
Please sign in to comment.
Something went wrong with that request. Please try again.