mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
29 lines
842 B
Bash
29 lines
842 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.3
|
|
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=('ffd7718a9808894413a0e0ee82a79335')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr --sysconfdir=/etc || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install-all || return 1
|
|
}
|