1 # Contributor: [Vitaliy Berdinskikh](mailto:ur6lad@archlinux.org.ua) aka UR6LAD
6 pkgdesc="A Java library for TwitterAPI, supports OAuth"
8 url="http://twitter4j.org"
10 depends=('java-runtime' 'slf4j')
11 source=(${url}/en/${pkgname}-${pkgver}.zip setClasspath.sh)
14 mkdir -p ${pkgdir}/usr/share/java/${pkgname}
18 install -m644 setClasspath.sh ${pkgdir}/usr/share/java/${pkgname}
19 for a in async core media-support stream; do
20 install -m644 lib/${pkgname}-${a}-${pkgver}.jar ${pkgdir}/usr/share/java/${pkgname}
22 for i in ${pkgdir}/usr/share/java/${pkgname}/*.jar; do
24 ln -s ${_filename} ${pkgdir}/usr/share/java/${pkgname}/${_filename/-${pkgver}/}
28 md5sums=('c8ab0d6f1a5d550bc063821be2388607'
29 'eb18e761893733c651af29162f10c27b')
30 sha256sums=('1ec7ee1904465e47c9aa29c5000d69723da91290c7c4a9d4ce413760fa1ae025'
31 '0c6460923b0f31358260becfedfb320c1af4b6a6b7114091718e2e208ec37dc9')