add dbus-glib for firefox

This commit is contained in:
Ella Stanforth 2022-04-30 19:45:20 +00:00
parent 357b165cb1
commit 16a5b53b85

36
gnome/dbus-glib/build.sh Normal file
View file

@ -0,0 +1,36 @@
pkgname=dbus-glib
pkgver=0.112
fetch() {
curl "https://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-$pkgver.tar.gz" -o $pkgname-$pkgver.tar.gz
tar -xf $pkgname-$pkgver.tar.gz
mkdir $pkgname-$pkgver/build
}
build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--build=$TRIPLE \
--host=$TRIPLE
bad --gmake gmake
}
package() {
cd $pkgname-$pkgver
bad --gmake gmake install DESTDIR=$pkgdir
rm -rf $pkgdir/etc
rm -rf $pkgdir/usr/libexec
rm -rf $pkgdir/usr/share/gtk-doc
}
license() {
cd $pkgname-$pkgver
cat COPYING
}
backup() {
return
}