mirror of
https://github.com/moparisthebest/arch-ppa
synced 2024-11-21 16:25:00 -05:00
Added arc and perl-file-libmagic
This commit is contained in:
parent
87c8eff605
commit
e792135aad
13
src/arc/.SRCINFO
Normal file
13
src/arc/.SRCINFO
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
pkgbase = arc
|
||||||
|
pkgdesc = Arc file archiver and compressor. Long since superceeded by zip/unzip but useful if have old .arc files need to unpack.
|
||||||
|
pkgver = 5.21p
|
||||||
|
pkgrel = 3
|
||||||
|
url = http://sourceforge.net/projects/arc
|
||||||
|
arch = i686
|
||||||
|
arch = x86_64
|
||||||
|
license = GPL
|
||||||
|
source = http://download.sourceforge.net/arc/arc-5.21p.tar.gz
|
||||||
|
sha1sums = e68e358b86a67c68e8a1cb95a840f380bfda3684
|
||||||
|
|
||||||
|
pkgname = arc
|
||||||
|
|
4
src/arc/.gitignore
vendored
Normal file
4
src/arc/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
||||||
|
!.SRCINFO
|
||||||
|
!PKGBUILD
|
21
src/arc/PKGBUILD
Normal file
21
src/arc/PKGBUILD
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
|
||||||
|
# Contributor: Diogo Leal <estranho@diogoleal.com>
|
||||||
|
|
||||||
|
pkgname=arc
|
||||||
|
pkgver=5.21p
|
||||||
|
pkgrel=3
|
||||||
|
pkgdesc="Arc file archiver and compressor. Long since superceeded by zip/unzip but useful if have old .arc files need to unpack."
|
||||||
|
arch=('i686' 'x86_64')
|
||||||
|
url='http://sourceforge.net/projects/arc'
|
||||||
|
license=('GPL')
|
||||||
|
source=("http://download.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
|
||||||
|
sha1sums=('e68e358b86a67c68e8a1cb95a840f380bfda3684')
|
||||||
|
|
||||||
|
|
||||||
|
build() {
|
||||||
|
make -C "${pkgname}-${pkgver}"
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make -C "${pkgname}-${pkgver}" PREFIX=/usr DESTDIR="${pkgdir}" install
|
||||||
|
}
|
19
src/perl-file-libmagic/.SRCINFO
Normal file
19
src/perl-file-libmagic/.SRCINFO
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# Generated by mksrcinfo v8
|
||||||
|
# Mon Jun 6 22:26:21 UTC 2016
|
||||||
|
pkgbase = perl-file-libmagic
|
||||||
|
pkgdesc = Determine MIME types of data or files using libmagic
|
||||||
|
pkgver = 1.15
|
||||||
|
pkgrel = 3
|
||||||
|
url = http://search.cpan.org/~drolsky/File-LibMagic
|
||||||
|
arch = any
|
||||||
|
license = GPL
|
||||||
|
license = PerlArtistic
|
||||||
|
makedepends = perl-test-fatal
|
||||||
|
depends = perl
|
||||||
|
depends = file
|
||||||
|
options = !emptydirs
|
||||||
|
source = http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/File-LibMagic-1.15.tar.gz
|
||||||
|
sha256sums = 2c7fb54912caf2c22d06b02d6a88edad970e0f8b017634dc30eec46e53763e84
|
||||||
|
|
||||||
|
pkgname = perl-file-libmagic
|
||||||
|
|
37
src/perl-file-libmagic/PKGBUILD
Normal file
37
src/perl-file-libmagic/PKGBUILD
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# Maintainer: Ganymede < ganymede _AT_ analogon _DOT_ eu>
|
||||||
|
|
||||||
|
pkgname=perl-file-libmagic
|
||||||
|
pkgver=1.15
|
||||||
|
pkgrel=3
|
||||||
|
pkgdesc="Determine MIME types of data or files using libmagic"
|
||||||
|
arch=('any')
|
||||||
|
url="http://search.cpan.org/~drolsky/File-LibMagic"
|
||||||
|
license=('GPL' 'PerlArtistic')
|
||||||
|
depends=('perl' 'file')
|
||||||
|
makedepends=('perl-test-fatal')
|
||||||
|
options=('!emptydirs')
|
||||||
|
source=(http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/File-LibMagic-$pkgver.tar.gz)
|
||||||
|
sha256sums=('2c7fb54912caf2c22d06b02d6a88edad970e0f8b017634dc30eec46e53763e84')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$srcdir/File-LibMagic-$pkgver"
|
||||||
|
unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
|
||||||
|
export PERL_MM_USE_DEFAULT=1
|
||||||
|
/usr/bin/perl Makefile.PL
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd "$srcdir/File-LibMagic-$pkgver"
|
||||||
|
unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
|
||||||
|
export PERL_MM_USE_DEFAULT=1
|
||||||
|
make test
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$srcdir/File-LibMagic-$pkgver"
|
||||||
|
unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
|
||||||
|
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
|
||||||
|
find "$pkgdir" -name '.packlist' -delete
|
||||||
|
find "$pkgdir" -name '*.pod' -delete
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user