mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
fix cd problem in package() for armsoc-git
This commit is contained in:
parent
c6abe40d6a
commit
1d6e32ba60
1 changed files with 4 additions and 6 deletions
|
@ -13,7 +13,7 @@ pkgver() {
|
|||
echo $(git rev-list --count makepkg).$(git rev-parse --short makepkg)
|
||||
}
|
||||
epoch=1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=('armv7h')
|
||||
url="http://git.chromium.org/gitweb/?p=chromiumos/third_party/xf86-video-armsoc.git;a=summary"
|
||||
license=('GPL2')
|
||||
|
@ -24,14 +24,13 @@ replaces=(xf86-video-armsoc)
|
|||
provides=(xf86-video-armsoc)
|
||||
|
||||
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'
|
||||
'SKIP')
|
||||
_gitname="xf86-video-armsoc"
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/$_gitname"
|
||||
cd "$srcdir/$pkgname"
|
||||
msg "Patching source..."
|
||||
# X 1.13 compatibility from the Linaro upstream
|
||||
git apply ${srcdir}/compat_post_X_1.13.patch
|
||||
|
@ -46,8 +45,7 @@ build() {
|
|||
package() {
|
||||
pkgdesc="armsoc framebuffer driver for X from chromium os git"
|
||||
|
||||
cd "${srcdir}/${pkgname}"
|
||||
|
||||
make DESTDIR="${pkgdir}" install
|
||||
make -C "$srcdir/$pkgname" DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue