mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 21:07:14 +08:00
37 lines
969 B
Bash
37 lines
969 B
Bash
#
|
|
# Games Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=perl-alien-sdl
|
|
_pkgname=Alien-SDL
|
|
pkgver=1.425
|
|
pkgrel=1
|
|
pkgdesc="Perl module to detect and get configuration settings from an installed SDL and related libraries."
|
|
license=('PerlArtistic' 'GPL')
|
|
arch=('i686' 'x86_64')
|
|
url='http://search.cpan.org/~froggs/Alien-SDL/'
|
|
options=('!emptydirs')
|
|
depends=('perl-capture-tiny' 'perl-file-sharedir' 'sdl=1.2.14')
|
|
makedepends=('perl-file-which' 'perl-text-patch')
|
|
source=("http://search.cpan.org/CPAN/authors/id/F/FR/FROGGS/$_pkgname-$pkgver.tar.gz")
|
|
md5sums=('c6adaa35ea0779740950de36c8a8ffe2')
|
|
|
|
build() {
|
|
cd $srcdir/$_pkgname-$pkgver
|
|
|
|
perl Build.PL installdirs=vendor destdir=$pkgdir \
|
|
--with-sdl-config
|
|
perl Build
|
|
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/$_pkgname-$pkgver
|
|
|
|
perl Build install
|
|
}
|