summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLightDot2018-02-22 18:28:13 +0100
committerLightDot2018-02-22 18:28:13 +0100
commit6fdfba5610f651e2c71dc5ca6b6e42a367cea770 (patch)
tree45f0765d04d7935ef142c34339fa22dc5e8ac619
parent2d013250160e4f3a25435098c5af1ad0838c57c1 (diff)
downloadaur-6fdfba5610f651e2c71dc5ca6b6e42a367cea770.tar.gz
PKGBUILD cleanup
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD13
-rw-r--r--ttf-prociono.install13
3 files changed, 8 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6c3b93d44999..676125251ef3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,15 @@
-# Generated by mksrcinfo v8
-# Mon Feb 15 00:40:24 UTC 2016
pkgbase = ttf-prociono
pkgdesc = A roman serif with blackletter elements.
pkgver = 20160215
- pkgrel = 1
+ pkgrel = 2
url = http://theleagueofmoveabletype.com/prociono
- install = ttf-prociono.install
arch = any
groups = lmt-fonts
license = custom:OFL
depends = fontconfig
+ depends = xorg-fonts-encodings
depends = xorg-font-utils
- source = https://github.com/theleagueof/prociono/archive/master.zip
+ source = ttf-prociono-20160215.zip::https://github.com/theleagueof/prociono/archive/master.zip
md5sums = e92f54c9db1047927d9c26e8fc069cf1
pkgname = ttf-prociono
diff --git a/PKGBUILD b/PKGBUILD
index 35a0a42754e6..70b898034b96 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=prociono
pkgname=ttf-${_fnt_name}
pkgver=20160215
-pkgrel=1
+pkgrel=2
pkgdesc="A roman serif with blackletter elements."
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=('e92f54c9db1047927d9c26e8fc069cf1')
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-prociono.install b/ttf-prociono.install
deleted file mode 100644
index 2125904e5000..000000000000
--- a/ttf-prociono.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
-}