mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-13 23:19:07 +08:00
29 lines
870 B
Bash
29 lines
870 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.4
|
|
pkgrel=1
|
|
pkgdesc="S-Lang is a powerful interpreted language"
|
|
arch=('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)
|
|
sha256sums=('e334028e0c75c35406d10fe9e1686f36a615dcc6e2af90e8de25d299e8e6129f')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr --sysconfdir=/etc || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install-all || return 1
|
|
}
|