initial import
This commit is contained in:
25
perl-text-patch/PKGBUILD
Normal file
25
perl-text-patch/PKGBUILD
Normal file
@@ -0,0 +1,25 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=perl-text-patch
|
||||
pkgver=1.8
|
||||
pkgrel=1
|
||||
pkgdesc="Patches text with given patch"
|
||||
arch=('any')
|
||||
license=('GPL-2')
|
||||
url='https://search.cpan.org/dist/Text-Patch'
|
||||
depends=('perl')
|
||||
options=('!emptydirs')
|
||||
source=("https://search.cpan.org/CPAN/authors/id/C/CA/CADE/Text-Patch-$pkgver.tar.gz")
|
||||
sha512sums=('582f4972d1374d9f010d2bfeb00b857391eb78744899fd0583cee65bb321c48c1c8ea0d77c0a6bcebf73f4b7f1fa3f05a3bad9be71210b06ca4e8f31f2017d32')
|
||||
|
||||
build() {
|
||||
cd Text-Patch-$pkgver
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd Text-Patch-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user