cjs.paketlendi
This commit is contained in:
parent
7189709530
commit
b81f2eb673
|
@ -0,0 +1,17 @@
|
|||
# Tanım: Cinnamon için Javascript Bağları
|
||||
# URL: https://github.com/linuxmint/cjs
|
||||
# Paketçi: Cihan Alkan
|
||||
# Gerekler: gtk3 gobject-introspection js38 dbus-glib python gtk3 autoconf-archive gnome-common
|
||||
|
||||
isim=cjs
|
||||
surum=3.6.1
|
||||
devir=1
|
||||
kaynak=(https://github.com/linuxmint/$isim/archive/$surum.tar.gz::$isim-$surum.tar.gz)
|
||||
|
||||
derle() {
|
||||
cd $isim-$surum
|
||||
./autogen.sh --prefix=/usr --disable-static --libexecdir=/usr/lib
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
}
|
|
@ -32,6 +32,6 @@ derle() {
|
|||
SHELL=/bin/sh make || SHELL=/bin/sh make
|
||||
SHELL=/bin/sh make DESTDIR="$PKG" install
|
||||
rm -f "$PKG"/usr/lib/*.ajs
|
||||
rm -f "$PKG"/usr/bin/js38
|
||||
find "$PKG"/usr/{lib/pkgconfig,include} -type f -exec chmod -x {} +
|
||||
mv $PKG/usr/lib/pkgconfig/js.pc $PKG/usr/lib/pkgconfig/mozjs-38.pc
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue