mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
61 lines
1.7 KiB
Bash
61 lines
1.7 KiB
Bash
pkgname=xterm
|
|
pkgver=333
|
|
pkgrel=1
|
|
pkgdesc="X Terminal Emulator"
|
|
arch=('x86_64')
|
|
url="http://invisible-island.net/xterm/"
|
|
license=('custom')
|
|
depends=('libxft' 'libxaw' 'ncurses' 'xorg-apps' 'xbitmaps' 'libutempter')
|
|
groups=('xorg')
|
|
categories=('system')
|
|
source=("ftp://invisible-island.net/${pkgname}/${pkgname}-${pkgver}.tgz"
|
|
LICENSE)
|
|
md5sums=('32a810c436db81775706f9cbe7efc290'
|
|
'10ecc3f8ee91e3189863a172f68282d2')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr \
|
|
--libdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--with-app-defaults=/usr/share/X11/app-defaults/ \
|
|
--with-x \
|
|
--disable-full-tgetent \
|
|
--disable-imake \
|
|
--enable-ansi-color \
|
|
--enable-88-color \
|
|
--enable-256-color \
|
|
--enable-broken-osc \
|
|
--enable-broken-st \
|
|
--enable-load-vt-fonts \
|
|
--enable-i18n \
|
|
--enable-wide-chars \
|
|
--enable-doublechars \
|
|
--enable-warnings \
|
|
--enable-tcap-query \
|
|
--enable-logging \
|
|
--enable-dabbrev \
|
|
--enable-freetype \
|
|
--enable-luit \
|
|
--enable-mini-luit \
|
|
--enable-narrowproto \
|
|
--enable-exec-xterm \
|
|
--enable-sixel-graphics \
|
|
--enable-regis-graphics \
|
|
--with-tty-group=tty \
|
|
--with-utempter
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
chmod 0755 "${pkgdir}/usr/bin/xterm"
|
|
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -m644 "${srcdir}/LICENSE" \
|
|
"${pkgdir}/usr/share/licenses/${pkgname}/"
|
|
install -m755 -d ${pkgdir}/usr/share/applications
|
|
install -m644 ${srcdir}/${pkgname}-${pkgver}/{xterm,uxterm}.desktop ${pkgdir}/usr/share/applications/
|
|
}
|