Skip to content

Instantly share code, notes, and snippets.

@bobpaul bobpaul/PKGBUILD
Created Mar 25, 2018

Embed
What would you like to do?
Updated jbidwatcher PKGBUILD for archlinux
1. Checkout the current jbidwatcher
$ git clone https://aur.archlinux.org/jbidwatcher.git
2. Replace the jbidwatcher and PKGBUILD files with the ones from this gist.
3. Install
$ makepkg -si
Notes:
You might need to generate new checksums with
$ makepkg -g
You might have to change your system java to java8 using the archlinux-java script.
#!/bin/sh
#java -Xmx512m -jar /usr/share/java/jbidwatcher/JBidwatcher.jar
cd /usr/share/java/jbidwatcher
java -cp lib/annotations.jar:lib/aopalliance.jar:lib/appbundler-1.0ea.jar:lib/apple.jar:lib/derby.jar:lib/guice-3.0.jar:lib/guice-assistedinject-3.0.jar:lib/jDeskMetrics.jar:lib/javax.inject.jar:lib/jdesktop.jar:lib/jl1.0.1.jar:lib/jline-2.11.jar:lib/jruby-incomplete.jar:lib/json_simple-1.1.jar:lib/jsoup-1.7.1.jar:lib/jsr305-1.3.9.jar:lib/l2fprod-common-fontchooser.jar:lib/mahalo.jar:lib/mysql-connector-java-5.1.7-bin.jar:lib/readline.jar:lib/txtmark.jar:lib/jbidwatcher:main/main.jar com.jbidwatcher.app.JBidWatch
# Maintainer: luckdragon <f41c0r [/at\] cyb3r DOT space>
# Original maintainer from the AUR3 package: yugrotavele <yugrotavele at archlinux dot us>
pkgname=jbidwatcher
pkgver=2.99pre5
pkgrel=1
pkgdesc='Allows you to monitor eBay auctions, submit bids, and snipe.'
arch=('any')
url="http://www.jbidwatcher.com/"
license=('custom:CCPL-by-nc-sa-amended')
depends=('java-runtime=8' 'desktop-file-utils')
noextract=("JBidwatcher-${pkgver}.jar")
install=jbidwatcher.install
source=(https://www.jbidwatcher.com/download/JBidwatcher-${pkgver}.jar
http://www.jbidwatcher.com/images/jay_noback.png
jbidwatcher jbidwatcher.desktop LICENSE)
sha256sums=('9c1c3f9bb4ad1ac0655eccc440d89d584c7cd6639cca7d905a9faae04467c95c'
'b78d62804d1f4fda02abd02733e521ae50adcb4ee3e05540557a9fa4efdbfe3b'
'74cf106c8e49f70fef4d1f3c684fb719bb339ca89b28abda20f1d8ce2134ede5'
'825f2d9c6c9f8d45301eb4199ef0d8074e0a6b294c43b899cb55ab2298c4e561'
'92ef1e9f73843497f2a77d593003ae180028b88c0cc6191ff13c12a9fa686d36')
package() {
cd "${srcdir}"
install -D -m755 jbidwatcher "${pkgdir}/usr/bin/jbidwatcher"
install -D -m644 JBidwatcher-${pkgver}.jar "${pkgdir}/usr/share/java/jbidwatcher/JBidwatcher.jar"
install -D -m644 jbidwatcher.desktop "${pkgdir}/usr/share/applications/jbidwatcher.desktop"
install -D -m644 jay_noback.png "${pkgdir}/usr/share/pixmaps/jay_noback.png"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
cd "${pkgdir}/usr/share/java/jbidwatcher/"
unzip JBidwatcher.jar
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.