Last active
August 29, 2015 14:08
-
-
Save tchebb/f510c8e96092a75dab18 to your computer and use it in GitHub Desktop.
Updated PKGBUILD for abootimg-git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Benoit Favre <[email protected]> | |
# Contributor: Thomas Hebb <[email protected]> | |
pkgname=abootimg-git | |
pkgver=0.6.r4.g7e127fe | |
pkgrel=1 | |
pkgdesc="A tool to read/write/update android boot images" | |
arch=('i686' 'x86_64' 'arm' 'armv7h') | |
url="http://gitorious.org/ac100/abootimg" | |
license=('GPL') | |
depends=('util-linux' 'cpio') | |
makedepends=('git') | |
provides=('abootimg') | |
source=('git://gitorious.org/ac100/abootimg.git') | |
sha256sums=('SKIP') | |
pkgver() { | |
cd "abootimg" | |
git describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g' | |
} | |
build() { | |
cd "${srcdir}/abootimg" | |
make | |
gzip debian/abootimg.1 | |
} | |
package() { | |
cd "${srcdir}/abootimg" | |
install -d "$pkgdir/usr/bin" "$pkgdir/usr/share/man/man1/" | |
install -t "$pkgdir/usr/bin" abootimg abootimg-pack-initrd abootimg-unpack-initrd | |
install -t "$pkgdir/usr/share/man/man1/" debian/abootimg.1.gz | |
} | |
# vim:set ts=2 sw=2 et: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment