OSDN Git Service

add PKGBUILD for OLE-Storage_Lite
[msys2-xls2txt/msys2-xls2txt.git] / perl-OLE-Storage_Lite / PKGBUILD
1 # Maintainer: kojiro ONO <ono.kojiro@gmail.com>
2
3 _realname=OLE-Storage_Lite
4 pkgname=perl-${_realname}
5 pkgver=0.19
6 pkgrel=1
7 groups=('perl-modules')
8 pkgdesc="Simple Class for OLE document interface"
9 arch=('any')
10 license=('PerlArtistic')
11 url="http://search.cpan.org/dist/${_realname}/"
12 depends=('perl')
13 options=('!emptydirs')
14 source=("http://ftp.cpan.org/pub/CPAN/authors/id/J/JM/JMCNAMARA/${_realname}-${pkgver}.tar.gz")
15 sha256sums=('e72e055c35bd85ad7c20cf2adb6c89bdbf5725df969484fa6dc981d531ef2c9d')
16
17 build() {
18   cd "${srcdir}/${_realname}-${pkgver}"
19   perl Makefile.PL INSTALLDIRS=vendor
20   make
21 }
22
23 check() {
24   cd "${srcdir}/${_realname}-${pkgver}"
25   make test
26 }
27
28 package() {
29   cd "${srcdir}/${_realname}-${pkgver}"
30   make install DESTDIR="${pkgdir}"
31 }