diff options
author | Anatol Pomozov | 2015-06-17 08:50:35 -0700 |
---|---|---|
committer | Anatol Pomozov | 2015-06-17 08:50:35 -0700 |
commit | 1cc5eeb31e8d32814cf586a3e67a76976d342342 (patch) | |
tree | 1f425e487298b6211e42dbb4ab93f0373aa8a61d /PKGBUILD | |
download | aur-1cc5eeb31e8d32814cf586a3e67a76976d342342.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..43556dc8de4b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com> + +pkgname=perl-vk-app +_cpanname=VK-App +pkgver=0.11 +pkgrel=1 +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=('7ec4b2e8b56e7b69dfadb39286c7f7e60c37e506') + +build() { + cd $_cpanname-$pkgver + perl Makefile.PL -- INSTALLDIRS=vendor + make +} + +check() { + cd $_cpanname-$pkgver + make test +} + +package() { + cd $_cpanname-$pkgver + make install DESTDIR="$pkgdir" +} |