summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3265ca87a3c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Marco Buzzanca <marco dot bzn at gmail dot com>
+pkgname=ibm-fonts
+pkgver=0.1
+pkgrel=1
+pkgdesc='IBM system and text mode bitmap fonts'
+arch=('any')
+url='https://farsil.github.io/ibmfonts/'
+license=('MIT, custom:CC BY-SA 4.0')
+depends=('fontconfig' 'xorg-font-utils' 'xorg-fonts-encodings')
+install=$pkgname.install
+source=("https://github.com/farsil/ibmfonts/archive/$pkgver.tar.gz"
+ "$pkgname.install")
+sha256sums=('86f6d295561947f7e0a42e6e2bd405f63625095353468c6a6e752c0cba727dc9'
+ '9c4ea0f53c980ea9cd51f22c6da014c4e63ec4e111e5403237061527db054880')
+
+build() {
+ cd "$srcdir/ibmfonts-$pkgver"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/ibmfonts-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 licenses/MIT "$pkgdir/usr/share/licenses/$pkgname/licenses/MIT"
+ install -Dm644 licenses/CC-BY-SA-4.0 "$pkgdir/usr/share/licenses/$pkgname/licenses/CC-BY-SA-4.0"
+}