mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
alarm/sunxi-tools to 20140120
This commit is contained in:
parent
3f600ba6f0
commit
fc4eec4030
1 changed files with 15 additions and 5 deletions
|
@ -5,11 +5,11 @@
|
|||
|
||||
|
||||
pkgname=sunxi-tools
|
||||
pkgver=20130201
|
||||
pkgver=20140120
|
||||
pkgrel=1
|
||||
pkgdesc="Tools for Allwinner A10 (sun4i): fex, fel, pheonix_info"
|
||||
pkgdesc="Tools for Allwinner SoC family: fex, fel, pheonix_info"
|
||||
arch=('arm' 'armv7h')
|
||||
url="https://github.com/amery/sunxi-tools"
|
||||
url="https://github.com/linux-sunxi/sunxi-tools"
|
||||
license=('GPLv2+')
|
||||
depends=('libusb')
|
||||
makedepends=('git' 'pkg-config' 'libusb')
|
||||
|
@ -40,18 +40,28 @@ build() {
|
|||
package() {
|
||||
cd $srcdir/${_gitname}
|
||||
|
||||
# install README & LICENSE
|
||||
install -Dm 644 README $pkgdir/usr/share/doc/$pkgname/README
|
||||
install -Dm 644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
|
||||
|
||||
# create directory structure
|
||||
mkdir -p $pkgdir/usr/bin
|
||||
|
||||
# copy binaries & readme
|
||||
# copy binaries
|
||||
cp fexc $pkgdir/usr/bin
|
||||
cp bootinfo $pkgdir/usr/bin
|
||||
cp fel $pkgdir/usr/bin
|
||||
cp usb-boot $pkgdir/usr/bin
|
||||
cp fel-pio $pkgdir/usr/bin
|
||||
cp fel-gpio $pkgdir/usr/bin
|
||||
cp fel-sdboot $pkgdir/usr/bin
|
||||
cp pio $pkgdir/usr/bin
|
||||
cp nand-part $pkgdir/usr/bin
|
||||
cp jtag-loop.sunxi $pkgdir/usr/bin
|
||||
cp phoenix_info $pkgdir/usr/bin
|
||||
|
||||
# make symlinks for bin2fex/fex2bin
|
||||
cd $pkgdir/usr/bin
|
||||
ln -s fexc fex2bin
|
||||
ln -s fexc bin2fex
|
||||
ln -s fexc bin2fex
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue