mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
30 lines
896 B
Bash
30 lines
896 B
Bash
|
#
|
||
|
# Chakra 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=slang
|
||
|
pkgver=2.2.1
|
||
|
pkgrel=1
|
||
|
pkgdesc="S-Lang is a powerful interpreted language"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://www.s-lang.org/"
|
||
|
license=('GPL')
|
||
|
depends=('glibc' 'pcre' 'zlib')
|
||
|
backup=('etc/slsh.rc')
|
||
|
options=('!makeflags')
|
||
|
source=(ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v${pkgver%.*}/${pkgname}-${pkgver}.tar.gz)
|
||
|
md5sums=('9a72420df2aa7b1932a195c6e5a85465')
|
||
|
sha1sums=('8144f6d0362c8de2206c30fc2bdcf73da41eaf38')
|
||
|
|
||
|
build() {
|
||
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||
|
./configure --prefix=/usr --sysconfdir=/etc || return 1
|
||
|
make || return 1
|
||
|
make DESTDIR="${pkgdir}" install-all || return 1
|
||
|
}
|