mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 21:04:37 +08:00
33 lines
702 B
Bash
33 lines
702 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=sdl2_gfx
|
|
pkgver=5
|
|
pkgrel=1
|
|
pkgdesc="SDL Graphic Primitives (Version 2)"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.libsdl.org"
|
|
license=('zlib')
|
|
depends=('sdl2')
|
|
makedepends=('svn')
|
|
options=(!libtool)
|
|
source=("sdl2-gfx::svn://svn.code.sf.net/p/sdl2gfx/code/trunk#revision=$pkgver")
|
|
sha256sums=('SKIP')
|
|
|
|
build() {
|
|
cd "${srcdir}/sdl2-gfx/"
|
|
|
|
./autogen.sh
|
|
./configure --disable-static --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/sdl2-gfx/"
|
|
make DESTDIR="${pkgdir}/" install
|
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|
|
|