initial import
This commit is contained in:
35
gdl/PKGBUILD
Normal file
35
gdl/PKGBUILD
Normal file
@@ -0,0 +1,35 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=gdl
|
||||
pkgver=3.34.0
|
||||
pkgrel=2
|
||||
pkgdesc='Docking Library'
|
||||
url='https://gitlab.gnome.org/GNOME/gdl'
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL-2')
|
||||
depends=('gtk')
|
||||
makedepends=('intltool' 'gobject-introspection' 'gnome-common' 'gettext-tiny' 'mesa-libgl')
|
||||
source=("https://deb.debian.org/debian/pool/main/g/gdl/${pkgname}_${pkgver}.orig.tar.xz")
|
||||
sha512sums=('8c43f330556dae67e4f64e92c3ba5c2e9351d3040d6002bda89f20f9494fc93030abe80072f0cf86280f98e290805154e9ca12aaa7013f0a341d8ea94323d3b0')
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-static \
|
||||
--disable-gtk-doc
|
||||
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
make DESTDIR="$pkgdir" install
|
||||
|
||||
# we don't support gtk-doc
|
||||
rm -rf $pkgdir/usr/share/gtk-doc
|
||||
|
||||
install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user