mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 17:44:36 +08:00
26 lines
715 B
Bash
26 lines
715 B
Bash
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
|
|
pkgname=perl-alien-sdl
|
|
_realname=Alien-SDL
|
|
pkgver=1.440
|
|
pkgrel=1
|
|
pkgdesc="Building, finding and using SDL binaries"
|
|
arch=('x86_64')
|
|
license=(PerlArtistic GPL)
|
|
url="http://search.cpan.org/dist/Alien-SDL/"
|
|
depends=(sdl=1.2.15 perl-file-sharedir perl-capture-tiny)
|
|
makedepends=(perl-file-which perl-text-patch)
|
|
options=(!emptydirs)
|
|
source=(http://search.cpan.org/CPAN/authors/id/F/FR/FROGGS/$_realname-$pkgver.tar.gz)
|
|
md5sums=('ad665d058d186e673114024ba10dfa09')
|
|
|
|
package() {
|
|
cd "$srcdir/$_realname-$pkgver"
|
|
|
|
# install module in vendor directories
|
|
perl Build.PL installdirs=vendor destdir="$pkgdir" --with-sdl-config
|
|
|
|
perl Build
|
|
perl Build install
|
|
}
|