summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD37
2 files changed, 25 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d692d882b52..aef94df84bf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,14 @@
pkgbase = mkbold-mkitalic
- pkgdesc = Make X11 BDF font bold and italic
+ pkgdesc = Make X11 BDF fonts bold and/or italic
pkgver = 0.11
- pkgrel = 1
+ pkgrel = 2
url = http://hp.vector.co.jp/authors/VA013651/freeSoftware/mkbold-mkitalic.html
arch = i686
arch = x86_64
license = custom:X11
- depends = glibc
source = http://hp.vector.co.jp/authors/VA013651/lib/mkbold-mkitalic-0.11.tar.bz2
md5sums = 2384f0eb2e0d2d8f70ee292b81522619
- sha1sums = 293e60e632abd924c93a16a07a6232c08a8f5e16
+ sha384sums = d4b2369ab90c3105873055f0f240f70daea8b713279172b9e28d51b9b7d6aacfcdb856a989ef60f3a5cbcec6f83066f7
pkgname = mkbold-mkitalic
diff --git a/PKGBUILD b/PKGBUILD
index 9f9262023fb..6ee186f5486 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,31 @@
-# Maintainer: Schnouki <thomas.jost@gmail.com>
+# vim:set ts=2 sw=2 et:
+#
+# Maintainer: Tblue <tilman (at) ax86 (dot) net>
+# Contributor: Schnouki <thomas.jost@gmail.com>
+
pkgname=mkbold-mkitalic
pkgver=0.11
-pkgrel=1
-pkgdesc="Make X11 BDF font bold and italic"
-arch=(i686 x86_64)
+pkgrel=2
+pkgdesc="Make X11 BDF fonts bold and/or italic"
url="http://hp.vector.co.jp/authors/VA013651/freeSoftware/mkbold-mkitalic.html"
-license=('custom:X11')
-depends=('glibc')
-source=(http://hp.vector.co.jp/authors/VA013651/lib/$pkgname-$pkgver.tar.bz2)
-md5sums=('2384f0eb2e0d2d8f70ee292b81522619')
-sha1sums=('293e60e632abd924c93a16a07a6232c08a8f5e16')
+license=("custom:X11")
+source=("http://hp.vector.co.jp/authors/VA013651/lib/${pkgname}-${pkgver}.tar.bz2")
+arch=(i686 x86_64)
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "${srcdir}/${pkgname}-${pkgver}"
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" || return 1
- install -Dm644 README "$pkgdir/usr/share/doc/$pkgname/README" || return 1
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
- make || return 1
- make prefix="/usr" DESTDIR="$pkgdir" install
+ make prefix="/usr" DESTDIR="${pkgdir}" install
}
-# vim:set ts=2 sw=2 et:
+md5sums=('2384f0eb2e0d2d8f70ee292b81522619')
+sha384sums=('d4b2369ab90c3105873055f0f240f70daea8b713279172b9e28d51b9b7d6aacfcdb856a989ef60f3a5cbcec6f83066f7')