diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-02-11 17:28:55 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-02-11 17:28:55 (GMT) |
commit | 8279814593eae176965b34ed6997ed6f78c68ba8 (patch) | |
tree | 6e28ebfdb97ef3ba89f2b41d29b00b068294003a /abs | |
parent | c30e584ba445f4551d8fb7745ca94aaa20a44e37 (diff) | |
download | linhes_pkgbuild-8279814593eae176965b34ed6997ed6f78c68ba8.zip linhes_pkgbuild-8279814593eae176965b34ed6997ed6f78c68ba8.tar.gz linhes_pkgbuild-8279814593eae176965b34ed6997ed6f78c68ba8.tar.bz2 |
libcrystalhd-git: update and move /lib to /usr/lib
Diffstat (limited to 'abs')
-rw-r--r-- | abs/extra/libcrystalhd-git/PKGBUILD | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/abs/extra/libcrystalhd-git/PKGBUILD b/abs/extra/libcrystalhd-git/PKGBUILD index c0bf7d1..8778296 100644 --- a/abs/extra/libcrystalhd-git/PKGBUILD +++ b/abs/extra/libcrystalhd-git/PKGBUILD @@ -14,23 +14,25 @@ _gitroot='git://linuxtv.org/jarod/crystalhd.git' _gitname='crystalhd' build() { - - cd $startdir/src - + cd $srcdir/ msg "Connecting to git.wilsonet.com GIT server...." - - if [ -d $startdir/src/$_gitname ] ; then + if [ -d $srcdir/$_gitname ] ; then cd $_gitname && git pull origin msg "The local files are updated." else git clone $_gitroot cd $_gitname fi - cd linux_lib/libcrystalhd - make || return 1 +} + +package() { + cd $srcdir/$_gitname/linux_lib/libcrystalhd make install DESTDIR=$pkgdir || return 1 + # move lib/firmware to usr/lib/firmware + mv ${pkgdir}/lib/firmware ${pkgdir}/usr/lib/ + rm -rf ${pkgdir}/lib } md5sums=() |