summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2020-05-25 18:28:07 +0300
committerCaleb Maclennan2020-05-25 18:28:07 +0300
commit819b33df5f082226ead4a9cc27d567ee488fd678 (patch)
tree979b40d443e5e1dc2d205b7e7fff973f1e1fe0c0
parentb8bb87d239f61a34dcae6247c7a38d1df09e1595 (diff)
downloadaur-819b33df5f082226ead4a9cc27d567ee488fd678.tar.gz
Adopt and overhaul packaging
* Drop obsolete dependencies * Use HTTPS download * Install the files with the name under which whey were distributed
-rw-r--r--.SRCINFO54
-rw-r--r--PKGBUILD64
2 files changed, 58 insertions, 60 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f14432cfd6f5..51a03107c957 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,37 +1,33 @@
pkgbase = ttf-ms-fonts
pkgdesc = Core TTF Fonts from Microsoft
pkgver = 2.0
- pkgrel = 10
- url = http://corefonts.sourceforge.net/
+ pkgrel = 11
+ url = http://corefonts.sourceforge.net
arch = any
- license = custom:microsoft
- makedepends = libarchive>=3.0.2
- depends = fontconfig
- depends = xorg-fonts-encodings
- depends = xorg-font-utils
+ license = custom:Microsoft
provides = ttf-font
- source = http://downloads.sourceforge.net/corefonts/andale32.exe
- source = http://downloads.sourceforge.net/corefonts/arial32.exe
- source = http://downloads.sourceforge.net/corefonts/arialb32.exe
- source = http://downloads.sourceforge.net/corefonts/comic32.exe
- source = http://downloads.sourceforge.net/corefonts/courie32.exe
- source = http://downloads.sourceforge.net/corefonts/georgi32.exe
- source = http://downloads.sourceforge.net/corefonts/impact32.exe
- source = http://downloads.sourceforge.net/corefonts/times32.exe
- source = http://downloads.sourceforge.net/corefonts/trebuc32.exe
- source = http://downloads.sourceforge.net/corefonts/verdan32.exe
- source = http://downloads.sourceforge.net/corefonts/webdin32.exe
- md5sums = cbdc2fdd7d2ed0832795e86a8b9ee19a
- md5sums = 9637df0e91703179f0723ec095a36cb5
- md5sums = c9089ae0c3b3d0d8c4b0a95979bb9ff0
- md5sums = 2b30de40bb5e803a0452c7715fc835d1
- md5sums = 4e412c772294403ab62fb2d247d85c60
- md5sums = 4d90016026e2da447593b41a8d8fa8bd
- md5sums = 7907c7dd6684e9bade91cff82683d9d7
- md5sums = ed39c8ef91b9fb80f76f702568291bd5
- md5sums = 0d7ea16cac6261f8513a061fbfcdb2b5
- md5sums = 12d2a75f8156e10607be1eaa8e8ef120
- md5sums = 230a1d13a365b22815f502eb24d9149b
+ source = https://downloads.sourceforge.net/corefonts/andale32.exe
+ source = https://downloads.sourceforge.net/corefonts/arial32.exe
+ source = https://downloads.sourceforge.net/corefonts/arialb32.exe
+ source = https://downloads.sourceforge.net/corefonts/comic32.exe
+ source = https://downloads.sourceforge.net/corefonts/courie32.exe
+ source = https://downloads.sourceforge.net/corefonts/georgi32.exe
+ source = https://downloads.sourceforge.net/corefonts/impact32.exe
+ source = https://downloads.sourceforge.net/corefonts/times32.exe
+ source = https://downloads.sourceforge.net/corefonts/trebuc32.exe
+ source = https://downloads.sourceforge.net/corefonts/verdan32.exe
+ source = https://downloads.sourceforge.net/corefonts/webdin32.exe
+ sha256sums = 0524fe42951adc3a7eb870e32f0920313c71f170c859b5f770d82b4ee111e970
+ sha256sums = 85297a4d146e9c87ac6f74822734bdee5f4b2a722d7eaa584b7f2cbf76f478f6
+ sha256sums = a425f0ffb6a1a5ede5b979ed6177f4f4f4fdef6ae7c302a7b7720ef332fec0a8
+ sha256sums = 9c6df3feefde26d4e41d4a4fe5db2a89f9123a772594d7f59afd062625cd204e
+ sha256sums = bb511d861655dde879ae552eb86b134d6fae67cb58502e6ff73ec5d9151f3384
+ sha256sums = 2c2c7dcda6606ea5cf08918fb7cd3f3359e9e84338dc690013f20cd42e930301
+ sha256sums = 6061ef3b7401d9642f5dfdb5f2b376aa14663f6275e60a51207ad4facf2fccfb
+ sha256sums = db56595ec6ef5d3de5c24994f001f03b2a13e37cee27bc25c58f6f43e8f807ab
+ sha256sums = 5a690d9bb8510be1b8b4fe49f1f2319651fe51bbe54775ddddd8ef0bd07fdac9
+ sha256sums = c1cb61255e363166794e47664e2f21af8e3a26cb6346eb8d2ae2fa85dd5aad96
+ sha256sums = 64595b5abc1080fba8610c5c34fab5863408e806aafe84653ca8575bed17d75a
pkgname = ttf-ms-fonts
diff --git a/PKGBUILD b/PKGBUILD
index 5211d46f7d53..4d5c4f28b813 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,41 +1,43 @@
-# Maintainer: birdflesh <antkoul at gmail dot com>
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
+# Contributor: birdflesh <antkoul at gmail dot com>
# Contributor: Army <uli.armbruster@gmail.com>
# Contributor: Thayer Williams <thayer@archlinux.org>
# Contributor: dale <dale@archlinux.org>
pkgname=ttf-ms-fonts
pkgver=2.0
-pkgrel=10
-pkgdesc="Core TTF Fonts from Microsoft"
+pkgrel=11
+pkgdesc='Core TTF Fonts from Microsoft'
arch=('any')
-url="http://corefonts.sourceforge.net/"
-license=('custom:microsoft')
-depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
-makedepends=('libarchive>=3.0.2')
+url="http://corefonts.sourceforge.net"
+license=('custom:Microsoft')
provides=('ttf-font')
-_sfpath="http://downloads.sourceforge.net/corefonts"
-source=($_sfpath/andale32.exe $_sfpath/arial32.exe $_sfpath/arialb32.exe
- $_sfpath/comic32.exe $_sfpath/courie32.exe $_sfpath/georgi32.exe
- $_sfpath/impact32.exe $_sfpath/times32.exe $_sfpath/trebuc32.exe
- $_sfpath/verdan32.exe $_sfpath/webdin32.exe)
-md5sums=('cbdc2fdd7d2ed0832795e86a8b9ee19a'
- '9637df0e91703179f0723ec095a36cb5'
- 'c9089ae0c3b3d0d8c4b0a95979bb9ff0'
- '2b30de40bb5e803a0452c7715fc835d1'
- '4e412c772294403ab62fb2d247d85c60'
- '4d90016026e2da447593b41a8d8fa8bd'
- '7907c7dd6684e9bade91cff82683d9d7'
- 'ed39c8ef91b9fb80f76f702568291bd5'
- '0d7ea16cac6261f8513a061fbfcdb2b5'
- '12d2a75f8156e10607be1eaa8e8ef120'
- '230a1d13a365b22815f502eb24d9149b')
+_files=('andale32.exe'
+ 'arial32.exe'
+ 'arialb32.exe'
+ 'comic32.exe'
+ 'courie32.exe'
+ 'georgi32.exe'
+ 'impact32.exe'
+ 'times32.exe'
+ 'trebuc32.exe'
+ 'verdan32.exe'
+ 'webdin32.exe')
+_dlpath="https://downloads.sourceforge.net/corefonts"
+source=("${_files[@]/#/$_dlpath/}")
+sha256sums=('0524fe42951adc3a7eb870e32f0920313c71f170c859b5f770d82b4ee111e970'
+ '85297a4d146e9c87ac6f74822734bdee5f4b2a722d7eaa584b7f2cbf76f478f6'
+ 'a425f0ffb6a1a5ede5b979ed6177f4f4f4fdef6ae7c302a7b7720ef332fec0a8'
+ '9c6df3feefde26d4e41d4a4fe5db2a89f9123a772594d7f59afd062625cd204e'
+ 'bb511d861655dde879ae552eb86b134d6fae67cb58502e6ff73ec5d9151f3384'
+ '2c2c7dcda6606ea5cf08918fb7cd3f3359e9e84338dc690013f20cd42e930301'
+ '6061ef3b7401d9642f5dfdb5f2b376aa14663f6275e60a51207ad4facf2fccfb'
+ 'db56595ec6ef5d3de5c24994f001f03b2a13e37cee27bc25c58f6f43e8f807ab'
+ '5a690d9bb8510be1b8b4fe49f1f2319651fe51bbe54775ddddd8ef0bd07fdac9'
+ 'c1cb61255e363166794e47664e2f21af8e3a26cb6346eb8d2ae2fa85dd5aad96'
+ '64595b5abc1080fba8610c5c34fab5863408e806aafe84653ca8575bed17d75a')
-package() {
- install -dm755 "$pkgdir/usr/share/fonts/TTF"
-
- for font in *.{ttf,TTF}; do
- install -m644 $font "$pkgdir/usr/share/fonts/TTF/$(echo $font|tr A-Z a-z)"
- done
-
- install -Dm644 Licen.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+package() {
+ install -Dm644 -t "$pkgdir/usr/share/fonts/TTF/" *.ttf *.TTF
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" Licen.TXT
}