diff options
author | Gavin Lloyd | 2017-10-19 16:41:38 -0700 |
---|---|---|
committer | Gavin Lloyd | 2017-10-19 16:41:38 -0700 |
commit | 6e333a418cddec06316d95c9913d6df8047300b2 (patch) | |
tree | b47f26b940eab2059b67fbe9ee6002c9b90bd221 | |
parent | b97f64a1efbf0fde6a6cf60fb32b97fb0219fca9 (diff) | |
download | aur-6e333a418cddec06316d95c9913d6df8047300b2.tar.gz |
Cleanup
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 13 insertions, 13 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Wed Oct 11 00:28:59 UTC 2017 +# Thu Oct 19 23:41:32 UTC 2017 pkgbase = android-sdk-ant pkgdesc = Apache Ant build scripts and libraries for the Android SDK pkgver = 25.2.5 - pkgrel = 1 + pkgrel = 2 url = https://developer.android.com/studio/releases/sdk-tools.html arch = any license = custom @@ -2,21 +2,21 @@ pkgname=android-sdk-ant pkgver=25.2.5 -pkgrel=1 +pkgrel=2 pkgdesc='Apache Ant build scripts and libraries for the Android SDK' arch=('any') url='https://developer.android.com/studio/releases/sdk-tools.html' license=('custom') depends=('android-sdk>=25.3.0') -source=( - "https://dl.google.com/android/repository/tools_r${pkgver}-linux.zip" - 'LICENSE') -sha256sums=( - '577516819c8b5fae680f049d39014ff1ba4af870b687cab10595783e6f22d33e' - 'b9ee34b4522a15c244a7f90d269bde1414f1064eba9d500f8a24ba22ead0446f') +source=("https://dl.google.com/android/repository/tools_r${pkgver}-linux.zip" + 'LICENSE') +sha256sums=('577516819c8b5fae680f049d39014ff1ba4af870b687cab10595783e6f22d33e' + 'b9ee34b4522a15c244a7f90d269bde1414f1064eba9d500f8a24ba22ead0446f') package() { - LIBS=( + cd "${srcdir}" + + local LIBS=( 'ant-tasks.jar' 'common.jar' 'emma_ant.jar' @@ -28,13 +28,13 @@ package() { 'manifest-merger.jar' 'sdklib.jar') - for FILE in "${srcdir}/tools/ant"/*; do + for FILE in "tools/ant"/*; do install -Dm644 "$FILE" "${pkgdir}/opt/android-sdk/tools/ant/$(basename $FILE)" done for LIB in ${LIBS[@]}; do - install -Dm644 "${srcdir}/tools/lib/${LIB}" "${pkgdir}/opt/android-sdk/tools/lib/${LIB}" + install -Dm644 "tools/lib/${LIB}" "${pkgdir}/opt/android-sdk/tools/lib/${LIB}" done - install -Dm644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |