fix cd problem in package() for armsoc-git

This commit is contained in:
Daniel Wallace 2013-04-09 13:56:30 -04:00
parent c6abe40d6a
commit 1d6e32ba60

View file

@ -13,7 +13,7 @@ pkgver() {
echo $(git rev-list --count makepkg).$(git rev-parse --short makepkg) echo $(git rev-list --count makepkg).$(git rev-parse --short makepkg)
} }
epoch=1 epoch=1
pkgrel=1 pkgrel=2
arch=('armv7h') arch=('armv7h')
url="http://git.chromium.org/gitweb/?p=chromiumos/third_party/xf86-video-armsoc.git;a=summary" url="http://git.chromium.org/gitweb/?p=chromiumos/third_party/xf86-video-armsoc.git;a=summary"
license=('GPL2') license=('GPL2')
@ -24,14 +24,13 @@ replaces=(xf86-video-armsoc)
provides=(xf86-video-armsoc) provides=(xf86-video-armsoc)
source=('compat_post_X_1.13.patch' source=('compat_post_X_1.13.patch'
"git+http://git.chromium.org/git/chromiumos/third_party/xf86-video-armsoc.git#commit=47a3271") "$pkgname::git+http://git.chromium.org/git/chromiumos/third_party/xf86-video-armsoc.git#commit=47a3271")
md5sums=('12ccb37f9bdfe2e920d95a2cca832295' md5sums=('12ccb37f9bdfe2e920d95a2cca832295'
'SKIP') 'SKIP')
_gitname="xf86-video-armsoc"
prepare() { prepare() {
cd "$srcdir/$_gitname" cd "$srcdir/$pkgname"
msg "Patching source..." msg "Patching source..."
# X 1.13 compatibility from the Linaro upstream # X 1.13 compatibility from the Linaro upstream
git apply ${srcdir}/compat_post_X_1.13.patch git apply ${srcdir}/compat_post_X_1.13.patch
@ -46,8 +45,7 @@ build() {
package() { package() {
pkgdesc="armsoc framebuffer driver for X from chromium os git" pkgdesc="armsoc framebuffer driver for X from chromium os git"
cd "${srcdir}/${pkgname}"
make DESTDIR="${pkgdir}" install make -C "$srcdir/$pkgname" DESTDIR="${pkgdir}" install
} }