blob: dc45dae4c5dac14e09838f02f61c98780f36e88d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Contributor: Anatol Pomozov <anatol.pomozov@gmail.com>
pkgname=perl-vk-app
_cpanname=VK-App
pkgver=0.12
pkgrel=2
pkgdesc='Creation of a client application for vk.com'
arch=(any)
license=(GPL2)
url="http://search.cpan.org/dist/$_cpanname/"
depends=(perl perl-lwp-protocol-https perl-json)
source=(http://search.cpan.org/CPAN/authors/id/M/MA/MAG/$_cpanname-$pkgver.tar.gz)
sha1sums=('4878af974036204d7e6ecbf603ecb855316f7e6f')
build() {
cd $_cpanname-$pkgver
perl Makefile.PL -- INSTALLDIRS=vendor
make
}
check() {
cd $_cpanname-$pkgver
make test
}
package() {
cd $_cpanname-$pkgver
make install DESTDIR="$pkgdir"
}
|