Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@figue
Created June 13, 2020 12:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save figue/78dd2224546d0e2a0219bdf1e54f37d0 to your computer and use it in GitHub Desktop.
Save figue/78dd2224546d0e2a0219bdf1e54f37d0 to your computer and use it in GitHub Desktop.
glib-perl 1.3293 PKGBUILD
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Sarah Hay <sarah@archlinux.org>
pkgname=glib-perl
pkgver=1.3293
pkgrel=1
pkgdesc="Perl wrappers for glib 2.x, including GObject"
arch=(x86_64)
license=('LGPL')
url="http://gtk2-perl.sourceforge.net/"
options=('!emptydirs')
depends=('glib2')
makedepends=('perl-extutils-depends' 'perl-extutils-pkgconfig')
source=(https://downloads.sourceforge.net/sourceforge/gtk2-perl/Glib-${pkgver}.tar.gz)
sha256sums=('7316a0c1e7cc5cb3db7211214f45d7bdc2354365a680ac4bd3ac8bf06d1cb500')
build() {
cd Glib-$pkgver
PERL_USE_UNSAFE_INC=1 \
perl Makefile.PL INSTALLDIRS=vendor
PERL_USE_UNSAFE_INC=1 \
make
}
check() {
cd Glib-$pkgver
make test
}
package() {
cd Glib-$pkgver
make DESTDIR="${pkgdir}" install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment