summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD20
2 files changed, 10 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8fdd8cd7d80..5c520302f71 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,15 @@
pkgbase = sdat2img-git
pkgdesc = Convert sparse Android data image to filesystem image
- pkgver = r10.e5b41bd
+ pkgver = r42.1b08432
pkgrel = 1
url = https://github.com/xpirt/sdat2img
- arch = i686
- arch = x86_64
+ arch = any
license = Apache
makedepends = git
depends = python
provides = sdat2img
conflicts = sdat2img
- source = sdat2img-git::git://github.com/xpirt/sdat2img.git
+ source = sdat2img-git::git+https://github.com/xpirt/sdat2img.git
md5sums = SKIP
pkgname = sdat2img-git
diff --git a/PKGBUILD b/PKGBUILD
index 5699923f7c2..a66bf917ad5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,30 +1,24 @@
# Maintainer: willemw <willemw12@gmail.com>
-_pkgname=sdat2img
-pkgname=$_pkgname-git
-pkgver=r10.e5b41bd
+pkgname=sdat2img-git
+pkgver=r42.1b08432
pkgrel=1
pkgdesc="Convert sparse Android data image to filesystem image"
-arch=('i686' 'x86_64')
+arch=('any')
url="https://github.com/xpirt/sdat2img"
license=('Apache')
depends=('python')
makedepends=('git')
-provides=($_pkgname)
-conflicts=($_pkgname)
-source=($pkgname::git://github.com/xpirt/sdat2img.git)
-md5sums=(SKIP)
+provides=(${pkgname%-git})
+conflicts=(${pkgname%-git})
+source=($pkgname::git+https://github.com/xpirt/sdat2img.git)
+md5sums=('SKIP')
pkgver() {
cd $pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
-#prepare() {
-# cd $pkgname
-# sed -i 's|#!/usr/bin/env python[ ]*$|#!/usr/bin/env python2|' sdat2img.py
-#}
-
package() {
cd $pkgname
install -Dm755 sdat2img.py "$pkgdir/usr/bin/sdat2img"