summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2018-02-21 13:30:37 +0300
committerCaleb Maclennan2018-02-21 13:32:23 +0300
commit5d256d76f9a11a7e48eacae56fb830d167acb342 (patch)
treef68faed1ee48a27efe7d3d5a3af2cfee795c4bba
parent4e8ad6a7796e178e40f3cc508df31585c8cfd7b1 (diff)
downloadaur-5d256d76f9a11a7e48eacae56fb830d167acb342.tar.gz
Adopt and update packaging
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD21
-rw-r--r--ttf-league-script-number-one.install13
3 files changed, 13 insertions, 30 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 25a9c513a677..269b7c3bd346 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,17 @@
# Generated by mksrcinfo v8
-# Mon Feb 15 00:51:06 UTC 2016
+# Wed Feb 21 10:32:19 UTC 2018
pkgbase = ttf-league-script-number-one
- pkgdesc = A modern, coquettish script font that sits somewhere between your high school girlfriend’s love notes and handwritten letters from the '20s.
+ pkgdesc = A coquettish script font somewhere between a high school girl’s love notes and handwritten letters from the ’20s
pkgver = 20160215
- pkgrel = 1
+ pkgrel = 2
url = http://theleagueofmoveabletype.com/league-script-number-one
- install = ttf-league-script-number-one.install
arch = any
groups = lmt-fonts
license = custom:OFL
depends = fontconfig
depends = xorg-font-utils
source = https://github.com/theleagueof/league-script-number-one/archive/master.zip
- md5sums = d3dda08edd5ea88d12e223ea211d4fa2
+ sha256sums = fd28ca03e64c85c210fa3f9f729912080ed75b3f12c37228c2ae679109597398
pkgname = ttf-league-script-number-one
diff --git a/PKGBUILD b/PKGBUILD
index b8a523559ce1..3f974f6980d6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,24 @@
-# Maintainer: samæ <samæ at marvid dot fr>
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
+# Contributor: samæ <samæ at marvid dot fr>
_fnt_name=league-script-number-one
pkgname=ttf-${_fnt_name}
pkgver=20160215
-pkgrel=1
-pkgdesc="A modern, coquettish script font that sits somewhere between your high school girlfriend’s love notes and handwritten letters from the '20s."
+pkgrel=2
+pkgdesc='A coquettish script font somewhere between a high school girl’s love notes and handwritten letters from the ’20s'
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
-md5sums=('d3dda08edd5ea88d12e223ea211d4fa2')
+sha256sums=('fd28ca03e64c85c210fa3f9f729912080ed75b3f12c37228c2ae679109597398')
package() {
- install -d ${pkgdir}/usr/share/fonts/OTF
- install -d ${pkgdir}/usr/share/fonts/TTF
+ cd ${_fnt_name}-master
- install -Dm644 ${srcdir}/${_fnt_name}-master/*.otf ${pkgdir}/usr/share/fonts/OTF/
- install -Dm644 ${srcdir}/${_fnt_name}-master/webfonts/*.ttf ${pkgdir}/usr/share/fonts/TTF/
+ install -d ${pkgdir}/usr/share/fonts/OTF
- install -Dm644 ${srcdir}/${_fnt_name}-master/Open\ Font\ License.markdown ${pkgdir}/usr/share/licenses/${pkgname}/OFL.txt
+ install -Dm644 Open\ Font\ License.markdown ${pkgdir}/usr/share/licenses/${pkgname}/LICENSCE
+ install -Dm644 *.otf ${pkgdir}/usr/share/fonts/OTF/
}
-
diff --git a/ttf-league-script-number-one.install b/ttf-league-script-number-one.install
deleted file mode 100644
index 2125904e5000..000000000000
--- a/ttf-league-script-number-one.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
-}