mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 03:54:36 +08:00
31 lines
726 B
Bash
31 lines
726 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=sdl2_gfx
|
|
pkgver=1.0.0
|
|
pkgrel=1
|
|
pkgdesc="SDL Graphic Primitives (Version 2)"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.libsdl.org"
|
|
license=('zlib')
|
|
depends=('sdl2')
|
|
options=(!libtool)
|
|
source=("http://www.ferzkopp.net/Software/SDL2_gfx/SDL2_gfx-${pkgver}.tar.gz")
|
|
md5sums=('f008cc117cb901aec6bf5c2f0b11f7ea')
|
|
|
|
build() {
|
|
cd "${srcdir}/SDL2_gfx-${pkgver}"
|
|
|
|
./autogen.sh
|
|
./configure --disable-static --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/SDL2_gfx-${pkgver}"
|
|
make DESTDIR="${pkgdir}/" install
|
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|