diff options
author | Chocobo1 | 2020-01-12 20:43:43 +0800 |
---|---|---|
committer | Chocobo1 | 2020-01-12 20:53:53 +0800 |
commit | bf8f32153bd3ef99c340193a90df7b34c1f63493 (patch) | |
tree | 235e40070a6da9e1be238a00065b184861458186 | |
download | aur-bf8f32153bd3ef99c340193a90df7b34c1f63493.tar.gz |
newpkg: xterm-git r1214.g4b77a49-1
-rw-r--r-- | .SRCINFO | 25 | ||||
-rw-r--r-- | PKGBUILD | 60 |
2 files changed, 85 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3377496c83bb --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,25 @@ +pkgbase = xterm-git + pkgdesc = Terminal emulator for the X Window System + pkgver = r1214.g4b77a49 + pkgrel = 1 + url = https://invisible-island.net/xterm/ + arch = i686 + arch = x86_64 + license = custom + makedepends = git + depends = glibc + depends = libutempter + depends = libxaw + depends = libxft + depends = libxkbfile + depends = ncurses + depends = xbitmaps + depends = xorg-luit + provides = xterm + conflicts = xterm + options = staticlibs + source = git+https://github.com/ThomasDickey/xterm-snapshots.git + sha256sums = SKIP + +pkgname = xterm-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2eea2c69a95a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,60 @@ +# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> + +pkgname=xterm-git +pkgver=r1214.g4b77a49 +pkgrel=1 +pkgdesc="Terminal emulator for the X Window System" +arch=('i686' 'x86_64') +url="https://invisible-island.net/xterm/" +license=('custom') +depends=('glibc' 'libutempter' 'libxaw' 'libxft' 'libxkbfile' 'ncurses' 'xbitmaps' 'xorg-luit') +makedepends=('git') +provides=('xterm') +conflicts=('xterm') +options=('staticlibs') +source=("git+https://github.com/ThomasDickey/xterm-snapshots.git") +sha256sums=('SKIP') + + +pkgver() { + cd "xterm-snapshots" + + _rev=$(git rev-list --count --all) + _hash=$(git rev-parse --short HEAD) + printf "r%s.g%s" "$_rev" "$_hash" +} + +build() { + cd "xterm-snapshots" + + ./configure \ + --prefix="/usr" \ + --libdir="/etc" \ + --mandir="/usr/share/man" \ + --with-app-defaults="/usr/share/X11/app-defaults/" \ + --disable-full-tgetent \ + --disable-imake \ + --enable-broken-osc \ + --enable-dabbrev \ + --enable-exec-xterm \ + --enable-load-vt-fonts \ + --enable-logging \ + --enable-mini-luit \ + --enable-narrowproto \ + --enable-regis-graphics \ + --enable-sixel-graphics \ + --with-tty-group=tty \ + --with-utempter \ + --with-x + make +} + +package() { + cd "xterm-snapshots" + + make DESTDIR="$pkgdir" install + + install -Dm644 "xterm.desktop" -t "$pkgdir/usr/share/applications" + install -Dm644 "uxterm.desktop" -t "$pkgdir/usr/share/applications" + install -Dm644 "COPYING" -t "$pkgdir/usr/share/licenses/xterm" +} |