diff options
author | xiota | 2022-11-14 14:38:14 -0800 |
---|---|---|
committer | xiota | 2022-11-14 14:38:14 -0800 |
commit | e922988d2d0f1461457f45a51d814e26307875ef (patch) | |
tree | 3add7f046ca15257c8c6a1ef9684fc7cdabdfaaf | |
download | aur-e922988d2d0f1461457f45a51d814e26307875ef.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 28 |
3 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b869885245cc --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = ttf-luxi + pkgdesc = Luxi Truetype fonts + pkgver = 1.0.3 + pkgrel = 1 + url = https://xorg.freedesktop.org/releases/individual/font + arch = any + license = custom + provides = font-bh-ttf + conflicts = font-bh-ttf + source = https://xorg.freedesktop.org/releases/individual/font/font-bh-ttf-1.0.3.tar.bz2 + sha256sums = 1b4bea63271b4db0726b5b52c97994c3313b6023510349226908090501abd25f + +pkgname = ttf-luxi diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..aaa31dbb7e06 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +pkg +src +*.log +*.tar.* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..88af563d8519 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +_fontname=luxi +_basename=font-bh-ttf +pkgname="ttf-${_fontname}" +pkgver=1.0.3 +pkgrel=1 +pkgdesc='Luxi Truetype fonts' +url='https://xorg.freedesktop.org/releases/individual/font' +license=('custom') +arch=('any') + +provides=("${_basename}") +conflicts=(${provides[@]}) + +source=("${url}/${_basename}-${pkgver}.tar.bz2") +sha256sums=('1b4bea63271b4db0726b5b52c97994c3313b6023510349226908090501abd25f') + +package() { + cd "${srcdir}/${_basename}-${pkgver}" + + # not using upstream `Makefile` because it fails with paths containing spaces + install -D -m644 -t "${pkgdir}/usr/share/fonts/${pkgname}" *.ttf + install -D -m644 -t "${pkgdir}/usr/share/fontconfig/conf.avail" 42-luxi-mono.conf + + mkdir -p "${pkgdir}/usr/share/fontconfig/conf.default" + ln -s "../conf.avail/42-luxi-mono.conf" "${pkgdir}/usr/share/fontconfig/conf.default/" + + install -D -m644 -t "${pkgdir}/usr/share/licenses/${pkgname}" COPYING +} |