summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLightDot2018-02-22 18:32:49 +0100
committerLightDot2018-02-22 18:32:49 +0100
commit286c236828367f41d4c9144329a952436d6c5c0b (patch)
tree993033e2b60b67067e5740a150b23bdd372fcaa4
parentd115b4f549757c8207bdd59b0e1b1419971281d1 (diff)
downloadaur-286c236828367f41d4c9144329a952436d6c5c0b.tar.gz
PKGBUILD cleanup
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD11
-rw-r--r--ttf-raleway.install13
3 files changed, 8 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 46135d66f371..82b9d27b46bd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,16 @@
-# Generated by mksrcinfo v8
-# Mon Feb 15 00:22:35 UTC 2016
pkgbase = ttf-raleway
pkgdesc = An elegant sans-serif font, designed in a single thin weight.
pkgver = 20160215
- pkgrel = 1
+ pkgrel = 2
url = http://theleagueofmoveabletype.com/raleway
- install = ttf-raleway.install
arch = any
groups = lmt-fonts
license = custom:OFL
depends = fontconfig
+ depends = xorg-fonts-encodings
depends = xorg-font-utils
conflicts = otf-raleway
- source = https://github.com/theleagueof/raleway/archive/master.zip
+ source = ttf-raleway-20160215.zip::https://github.com/theleagueof/raleway/archive/master.zip
md5sums = 147dff2149b4d910023e459de8b260bb
pkgname = ttf-raleway
diff --git a/PKGBUILD b/PKGBUILD
index f62749f85b3a..77cf4cbc5a71 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,18 @@
-# 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=raleway
pkgname=ttf-${_fnt_name}
pkgver=20160215
-pkgrel=1
+pkgrel=2
pkgdesc="An elegant sans-serif font, designed in a single thin weight."
arch=('any')
url="http://theleagueofmoveabletype.com/${_fnt_name}"
license=('custom:OFL')
groups=('lmt-fonts')
-depends=('fontconfig' 'xorg-font-utils')
+depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
conflicts=('otf-raleway')
-source=("https://github.com/theleagueof/${_fnt_name}/archive/master.zip")
-install=${pkgname}.install
+source=("$pkgname-$pkgver.zip::https://github.com/theleagueof/${_fnt_name}/archive/master.zip")
md5sums=('147dff2149b4d910023e459de8b260bb')
package() {
@@ -21,4 +21,3 @@ package() {
install -Dm644 ${srcdir}/${_fnt_name}-master/Open\ Font\ License.markdown ${pkgdir}/usr/share/licenses/${pkgname}/OFL.txt
}
-
diff --git a/ttf-raleway.install b/ttf-raleway.install
deleted file mode 100644
index 2125904e5000..000000000000
--- a/ttf-raleway.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
-}