31 lines
1.2 KiB
Bash
31 lines
1.2 KiB
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=perl-x11-protocol
|
|
pkgver=0.56
|
|
_debver=$pkgver
|
|
_debrel=9
|
|
pkgrel=2
|
|
pkgdesc="Perl/CPAN Module X11::Protocol : Raw interface to X Window System servers"
|
|
arch=('any')
|
|
url='https://search.cpan.org/dist/X11-Protocol'
|
|
license=('GPL-1')
|
|
depends=('perl')
|
|
source=("https://www.cpan.org/authors/id/S/SM/SMCCAM/X11-Protocol-$pkgver.tar.gz"
|
|
"COPYING::https://metadata.ftp-master.debian.org/changelogs//main/libx/libx11-protocol-perl/libx11-protocol-perl_${_debver}-${_debrel}_copyright")
|
|
sha512sums=('1c1a6ed15ceff77e8be29ac32a0e72aa2d0a1e62b5e19af2e34055aa001ee281ab584d993ace82f46f00d4da2e7bd4c60e4e31876a43c6c64c3e216beb13fe5f'
|
|
'7bd8895a32a9f2c80bcecdfd826629f08d94ef989521d87348ae93fd3d676728a988dd258be80284da2e9e7b6c322301f65d3cce1a6ac564dff379bdf7feaf09')
|
|
|
|
build() {
|
|
cd "$srcdir"/X11-Protocol-$pkgver
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir"/X11-Protocol-$pkgver
|
|
make install DESTDIR="$pkgdir"
|
|
find "$pkgdir" -name '.packlist' -delete
|
|
find "$pkgdir" -name '*.pod' -delete
|
|
install -Dm644 "${srcdir}/COPYING" -t "$pkgdir"/usr/share/licenses/$pkgname
|
|
}
|