Package Details: uw-ttyp0-otb 1.3-2

Git Clone URL: https://aur.archlinux.org/uw-ttyp0-otb.git (read-only, click to copy)
Package Base: uw-ttyp0-otb
Description: Monospaced bitmap font with unicode support and powerline symbols (OTB version)
Upstream URL: http://people.mpi-inf.mpg.de/~uwe/misc/uw-ttyp0
Licenses: custom:TTYP0
Submitter: pkfbcedkrz
Maintainer: None
Last Packager: pkfbcedkrz
Votes: 1
Popularity: 0.000000
First Submitted: 2023-03-05 05:05 (UTC)
Last Updated: 2023-03-05 06:34 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

Heikete commented on 2026-03-04 20:03 (UTC)

Please update the package to newer version, here is fixed PKGBUILD:

_digit_zero=Slashed # Variants: Dotted, Slashed, Plain
_centered_tilde=true
_raised_asterisk=false

pkgname='uw-ttyp0-otb'
pkgver=2.1
pkgrel=1
pkgdesc='Monospaced bitmap font with unicode support and powerline symbols (OTB version)'
arch=('any')
url='http://people.mpi-inf.mpg.de/~uwe/misc/uw-ttyp0'
license=('custom:TTYP0')
makedepends=('xorg-fonttosfnt' 'perl')
source=("${url}/uw-ttyp0-${pkgver}.tar.gz")
md5sums=("SKIP")

prepare() {
    cd "uw-ttyp0-${pkgver}"
    if [[ -f ${SRCDEST}/VARIANTS.dat ]] ; then
        cp "${SRCDEST}/VARIANTS.dat" .
    else
        if [[ $_digit_zero != "Plain" ]] ; then
            echo "COPYTO Digit0$_digit_zero Digit0"
        fi >> VARIANTS.dat

        if ${_centered_tilde} ; then
            echo 'COPYTO MTilde AccTildeAscii'
        fi >> VARIANTS.dat

        if ${_raised_asterisk} ; then
            echo 'COPYTO SupAsterisk SAsterisk'
        fi >> VARIANTS.dat
    fi

    if [[ -f ${SRCDEST}/TARGETS.dat ]] ; then
        cp "${SRCDEST}/TARGETS.dat" .
    fi
}

build() {
    cd "uw-ttyp0-${pkgver}"
    ./configure
    make otb
}

package() {
    cd "uw-ttyp0-${pkgver}"

    install -d "$pkgdir/usr/share/fonts/misc"

    install -m644 genotb/*.otb "${pkgdir}/usr/share/fonts/misc/"
    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}