mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:57:14 +08:00
29 lines
744 B
Bash
29 lines
744 B
Bash
#
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=dialog
|
|
pkgver=1.2
|
|
_pkgver=1.2_20121230
|
|
pkgrel=1
|
|
pkgdesc="A tool to display dialog boxes from shell scripts"
|
|
arch=('x86_64')
|
|
url="http://invisible-island.net/dialog/"
|
|
license=('LGPL2.1')
|
|
depends=('ncurses')
|
|
source=(ftp://invisible-island.net/${pkgname}/${pkgname}-${_pkgver/_/-}.tgz)
|
|
sha1sums=('f6ba16481e04c707c7cbfc3c3c1340040bdb0aa3')
|
|
|
|
build() {
|
|
cd "${srcdir}/$pkgname-${_pkgver/_/-}"
|
|
./configure --prefix=/usr --mandir=/usr/share/man \
|
|
--with-ncursesw --enable-nls
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/$pkgname-${_pkgver/_/-}"
|
|
make DESTDIR="${pkgdir}" install install-lib
|
|
}
|