mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 02:57:14 +08:00
31 lines
1009 B
Bash
31 lines
1009 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=aalib
|
|
pkgver=1.4rc5
|
|
pkgrel=6
|
|
pkgdesc="AAlib is a portable ASCII art GFX library"
|
|
arch=('i686' 'x86_64')
|
|
url="http://aa-project.sourceforge.net/aalib/"
|
|
license=('LGPL')
|
|
depends=('glibc' 'ncurses' 'gpm>=1.20.4' 'libx11')
|
|
options=('!libtool')
|
|
source=(http://downloads.sourceforge.net/sourceforge/aa-project/$pkgname-$pkgver.tar.gz
|
|
aclocal-fixes.patch)
|
|
md5sums=('9801095c42bba12edebd1902bcf0a990' '863a96a6689aa7ee073ca448bc2f133d')
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-1.4.0
|
|
patch -Np0 -i ${startdir}/src/aclocal-fixes.patch || return 1
|
|
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
|
|
make || return 1
|
|
make DESTDIR=$startdir/pkg install
|
|
rm ${pkgdir}/usr/share/info/dir
|
|
}
|