summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLightDot2018-02-22 16:54:08 +0100
committerLightDot2018-02-22 16:54:08 +0100
commitb3a652e8d42d444144c0b3df298c8c8e7ae27bb3 (patch)
tree9521bb282f65779d85083beec5a78fe97f5d0708
parentcecf3f007500313a4c785b56bfcb631c3dc49763 (diff)
downloadaur-b3a652e8d42d444144c0b3df298c8c8e7ae27bb3.tar.gz
PKGBUILD cleanup
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD13
-rw-r--r--ttf-knewave.install13
3 files changed, 8 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e4ba1ec42f65..3f8b1133acff 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,15 @@
-# Generated by mksrcinfo v8
-# Mon Feb 15 00:48:14 UTC 2016
pkgbase = ttf-knewave
pkgdesc = A bold, painted face font for the rocker within.
pkgver = 20160215
- pkgrel = 1
+ pkgrel = 2
url = http://theleagueofmoveabletype.com/knewave
- install = ttf-knewave.install
arch = any
groups = lmt-fonts
license = custom:OFL
depends = fontconfig
+ depends = xorg-fonts-encodings
depends = xorg-font-utils
- source = https://github.com/theleagueof/knewave/archive/master.zip
+ source = ttf-knewave-20160215.zip::https://github.com/theleagueof/knewave/archive/master.zip
md5sums = ec880e36c11c0a16b06be6cd5884e3b8
pkgname = ttf-knewave
diff --git a/PKGBUILD b/PKGBUILD
index 9b5a93c5199f..fc1bde5a7516 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,24 @@
-# Maintainer: samæ <samæ at marvid dot fr>
+# Maintainer: LightDot <lightdot -a-t- g m a i l>
+# Contributor: samæ <samæ at marvid dot fr>
_fnt_name=knewave
pkgname=ttf-${_fnt_name}
pkgver=20160215
-pkgrel=1
+pkgrel=2
pkgdesc="A bold, painted face font for the rocker within."
arch=('any')
url="http://theleagueofmoveabletype.com/${_fnt_name}"
license=('custom:OFL')
groups=('lmt-fonts')
-depends=('fontconfig' 'xorg-font-utils')
-conflicts=()
-source=("https://github.com/theleagueof/${_fnt_name}/archive/master.zip")
-install=${pkgname}.install
+depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
+source=("$pkgname-$pkgver.zip::https://github.com/theleagueof/${_fnt_name}/archive/master.zip")
md5sums=('ec880e36c11c0a16b06be6cd5884e3b8')
package() {
install -d ${pkgdir}/usr/share/fonts/OTF
install -d ${pkgdir}/usr/share/fonts/TTF
-
install -Dm644 ${srcdir}/${_fnt_name}-master/*.otf ${pkgdir}/usr/share/fonts/OTF/
install -Dm644 ${srcdir}/${_fnt_name}-master/*.ttf ${pkgdir}/usr/share/fonts/TTF/
install -Dm644 ${srcdir}/${_fnt_name}-master/Open\ Font\ License.markdown ${pkgdir}/usr/share/licenses/${pkgname}/OFL.txt
}
-
diff --git a/ttf-knewave.install b/ttf-knewave.install
deleted file mode 100644
index 2125904e5000..000000000000
--- a/ttf-knewave.install
+++ /dev/null
@@ -1,13 +0,0 @@
-post_install() {
- echo -n "Updating font cache... "
- fc-cache -s > /dev/null
- echo "done."
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}