Created
February 27, 2019 15:16
-
-
Save flying-sheep/b109d7c96d2a202a1fee57197ee5b078 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Franklyn Tackitt <franklyn@tackitt.net> | |
pkgname=v8-3.14-bin | |
_ver=3.14.5 | |
pkgver=$_ver.8 | |
pkgrel=1 | |
pkgdesc="v8 3.14 binary package from ubuntu xenial" | |
url="https://github.com/v8/v8" | |
arch=('i686' 'x86_64') | |
license=('BSD new') | |
conflicts=('v8-3.14') | |
provides=('v8-3.14') | |
source_i686=("http://mirrors.kernel.org/ubuntu/pool/universe/libv/libv8-3.14/libv8-${_ver}_$pkgver-5ubuntu2_i386.deb" | |
"http://mirrors.kernel.org/ubuntu/pool/universe/libv/libv8-3.14/libv8-3.14-dev_$pkgver-5ubuntu2_i386.deb") | |
source_x86_64=("http://mirrors.kernel.org/ubuntu/pool/universe/libv/libv8-3.14/libv8-${_ver}_$pkgver-5ubuntu2_amd64.deb" | |
"http://mirrors.kernel.org/ubuntu/pool/universe/libv/libv8-3.14/libv8-3.14-dev_$pkgver-5ubuntu2_amd64.deb") | |
md5sums_i686=('e773e65367409dc2a737443e2dbfe954' | |
'875080d5ff303d805065dda37fe3bf85') | |
md5sums_x86_64=('3937ddaf045f8c5606b6c505bf0779f8' | |
'4d2581a59a09677580d12df87629dc41') | |
noextract=("${source[@]##*/}") | |
package() { | |
ar p "libv8-${_ver}_$pkgver-5ubuntu2_"*.deb data.tar.xz | tar -Jx | |
ar p "libv8-3.14-dev_$pkgver-5ubuntu2_"*.deb data.tar.xz | tar -Jx | |
install -Dm755 "$srcdir/usr/lib/libv8.so" "$pkgdir/usr/lib/libv8.so" | |
install -Dm755 "$srcdir/usr/lib/libv8.so.$_ver" "$pkgdir/usr/lib/libv8.so.$_ver" | |
for header in -debug -preparser -profiler -testing '' stdint; do | |
install -Dm644 "$srcdir/usr/include/v8$header.h" "$pkgdir/usr/include/v8$header.h" | |
done | |
install -Dm644 "$srcdir/usr/share/doc/libv8-$_ver/AUTHORS" "$pkgdir/usr/share/doc/libv8-$_ver/AUTHORS" | |
install -Dm644 "$srcdir/usr/share/doc/libv8-$_ver/copyright" "$pkgdir/usr/share/doc/libv8-$_ver/copyright" | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment