summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-02-11 17:28:55 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-02-11 17:28:55 (GMT)
commit8279814593eae176965b34ed6997ed6f78c68ba8 (patch)
tree6e28ebfdb97ef3ba89f2b41d29b00b068294003a /abs/extra
parentc30e584ba445f4551d8fb7745ca94aaa20a44e37 (diff)
downloadlinhes_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/extra')
-rw-r--r--abs/extra/libcrystalhd-git/PKGBUILD16
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=()