alarm/rockchip-tools to 20170420-1

This commit is contained in:
Kevin Mihelich 2017-04-21 02:31:12 +00:00
parent b817e8e6c8
commit aeae725da9

View file

@ -1,27 +1,28 @@
# Rockchip Tools # Rockchip Tools
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org> # Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
buildarch=4 buildarch=12
pkgname=rockchip-tools pkgname=rockchip-tools
pkgver=20150404 pkgver=20170420
pkgrel=1 pkgrel=1
pkgdesc="Rockchip Tools" pkgdesc="Rockchip Tools"
arch=('armv7h') arch=('armv7h' 'aarch64')
url="https://github.com/neo-technologies" url="https://github.com/neo-technologies"
depends=('openssl' 'libusb') depends=('openssl' 'libusb')
makedepends=('git') makedepends=('git')
license=('custom' 'APACHE' 'GPL') license=('custom' 'APACHE' 'GPL')
source=("git+https://github.com/neo-technologies/rkflashtool.git" source=("git+https://github.com/neo-technologies/rkflashtool.git"
"git+https://github.com/neo-technologies/rockchip-mkbootimg.git" "git+https://github.com/neo-technologies/rockchip-mkbootimg.git"
"git+https://github.com/neo-technologies/rkboottools.git") "git+https://github.com/neo-technologies/rkboottools.git"
"git+https://github.com/rockchip-linux/rkdeveloptool.git")
md5sums=('SKIP' md5sums=('SKIP'
'SKIP'
'SKIP' 'SKIP'
'SKIP') 'SKIP')
build() { build() {
cd "${srcdir}/rkflashtool" cd "${srcdir}/rkflashtool"
sed -i -e '/^CFLAGS/d' -e '/^LDFLAGS/d' Makefile
make make
cd "${srcdir}/rockchip-mkbootimg" cd "${srcdir}/rockchip-mkbootimg"
@ -30,6 +31,12 @@ build() {
cd "${srcdir}/rkboottools" cd "${srcdir}/rkboottools"
make make
cd "${srcdir}/rkdeveloptool"
CXXFLAGS+=" -fsigned-char"
autoreconf -fi
./configure --prefix=/usr
make
} }
package() { package() {
@ -43,4 +50,7 @@ package() {
cd "${srcdir}/rkboottools" cd "${srcdir}/rkboottools"
install -m755 rk-makebootable rk-rc4 rk-splitboot "${pkgdir}"/usr/bin install -m755 rk-makebootable rk-rc4 rk-splitboot "${pkgdir}"/usr/bin
cd "${srcdir}/rkdeveloptool"
make DESTDIR="${pkgdir}" install
} }