summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlester2014-12-19 20:51:11 +0800
committerlester2014-12-19 20:51:11 +0800
commit505a3b6b0781033357d92eef4abbcea54c3efcf6 (patch)
treebc2186626e99d5970c6f4ede49b7fdca4133fbd9
parentc46241493c1379d1dcc5db2e2b37b9ec230bf749 (diff)
downloadaur-505a3b6b0781033357d92eef4abbcea54c3efcf6.tar.gz
Match the include the minor version for moving package
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dad75c3619e..ea4251cc0e7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = android-platform
pkgdesc = Android SDK Platform, latest API
pkgver = 21_r02
- pkgrel = 1
+ pkgrel = 2
url = http://developer.android.com/sdk/index.html
arch = any
license = custom
diff --git a/PKGBUILD b/PKGBUILD
index 4c43038381e..26a53173da6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ _rev=r02
_apilevel=21
pkgname=android-platform
pkgver=${_apilevel}_${_rev}
-pkgrel=1
+pkgrel=2
pkgdesc="Android SDK Platform, latest API"
arch=('any')
url="http://developer.android.com/sdk/index.html"
@@ -21,7 +21,7 @@ sha1sums=('53536556059bb29ae82f414fd2e14bc335a4eb4c')
package() {
mkdir -p "${pkgdir}/opt/android-sdk/platforms/"
- find "${srcdir}" -maxdepth 1 -mindepth 1 -type d | grep -P 'android-[0-9]+(\.[0-9]*)?$' | while read directory; do
+ find "${srcdir}" -maxdepth 1 -mindepth 1 -type d | grep -P 'android-[0-9]+(\.[0-9]*)*$' | while read directory; do
mv "${directory}" "${pkgdir}/opt/android-sdk/platforms/android-${_apilevel}"
done