opt/vte3/Pkgfile

30 lines
728 B
Plaintext
Raw Normal View History

2018-02-10 01:45:37 +01:00
# Description: Virtual Terminal Emulator widget for use with GTK3
# URL: https://wiki.gnome.org/action/show/Apps/Terminal/VTE
# Maintainer: Danny Rawlins, crux at romster dot me
2018-09-28 12:46:36 +02:00
# Depends on: gnutls gtk3 libpcre2 util-linux
2019-02-21 12:00:18 +01:00
# Optional: vala
2014-12-16 14:04:15 +01:00
2018-02-10 01:45:37 +01:00
name=vte3
2019-02-21 12:00:18 +01:00
version=0.54.3
2014-12-16 14:04:15 +01:00
release=1
2018-09-28 12:46:36 +02:00
source=(https://download.gnome.org/sources/vte/${version%.*}/vte-$version.tar.xz)
2014-12-16 14:04:15 +01:00
build() {
cd vte-$version
2014-12-17 17:44:46 +01:00
2019-02-21 12:00:18 +01:00
[ -e '/usr/bin/vala' ] || PKGMK_VTE+=' --enable-vala=no'
./configure ${PKGMK_VTE} \
--prefix=/usr \
--libexecdir=/usr/lib/vte \
--disable-static \
2019-02-21 12:00:18 +01:00
--disable-gtk-doc
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=$PKG install
2019-02-21 12:00:18 +01:00
rm -r $PKG/usr/share/{gtk-doc,locale} $PKG/usr/etc/profile.d/vte.sh
2014-12-16 14:04:15 +01:00
}