summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD13
-rw-r--r--ttf-ancient-fonts.install15
3 files changed, 12 insertions, 29 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1d6cf8dfaeb8..014a9ad632ba 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,17 @@
-# Generated by mksrcinfo v8
-# Sat Jan 23 12:17:41 UTC 2016
pkgbase = ttf-ancient-fonts
pkgdesc = Unicode Fonts for Ancient Scripts
- pkgver = 2.59
- pkgrel = 2
+ pkgver = 2.60
+ pkgrel = 1
url = http://users.teilar.gr/~g1951d/
- install = ttf-ancient-fonts.install
arch = any
license = custom
depends = fontconfig
depends = xorg-font-utils
conflicts = ttf-symbola
- source = https://launchpad.net/ubuntu/+archive/primary/+files/ttf-ancient-fonts_2.59.orig.tar.xz
+ source = https://launchpad.net/ubuntu/+archive/primary/+files/ttf-ancient-fonts_2.60.orig.tar.xz
source = license
- md5sums = df026a39ad8b6069bda9123c0d35ad27
- md5sums = 01fc16b0f556bf616d486e2190ad3f9f
+ sha512sums = 5db3577cad65665846d844fda267539885fe25a863ed6ab6bb6408743e7a62da130ce1de02d9d6995afed147644ebdf472d014ac95622d9c65115582385078a8
+ sha512sums = 87d39b299453247786a0705a36589433f5e209111045103899a0ff957d2c72d4017f0c43ad5734381f7040ef77fd3072e2fb36167f9175d055e2fbc173d31d42
pkgname = ttf-ancient-fonts
diff --git a/PKGBUILD b/PKGBUILD
index f2ec85bc7c7e..4a327ec2a1c6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Alex Zose <alexander.zosimidis[at]gmail[dot]com>
pkgname=ttf-ancient-fonts
-pkgver=2.59
-pkgrel=2
+pkgver=2.60
+pkgrel=1
pkgdesc="Unicode Fonts for Ancient Scripts"
url="http://users.teilar.gr/~g1951d/"
license=("custom")
@@ -10,14 +10,15 @@ arch=(any)
depends=(fontconfig xorg-font-utils)
conflicts=(ttf-symbola)
source=("https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_${pkgver}.orig.tar.xz"
- "license")
-md5sums=("df026a39ad8b6069bda9123c0d35ad27"
- "01fc16b0f556bf616d486e2190ad3f9f")
-install=$pkgname.install
+ "license")
+sha512sums=("5db3577cad65665846d844fda267539885fe25a863ed6ab6bb6408743e7a62da130ce1de02d9d6995afed147644ebdf472d014ac95622d9c65115582385078a8"
+ "87d39b299453247786a0705a36589433f5e209111045103899a0ff957d2c72d4017f0c43ad5734381f7040ef77fd3072e2fb36167f9175d055e2fbc173d31d42")
package() {
install -d "$pkgdir/usr/share/fonts/TTF"
+ install -d "$pkgdir/usr/share/fonts/OTF"
install -d "$pkgdir/usr/share/licenses/${pkgname}"
install -m644 "$srcdir/${pkgname}-${pkgver}.orig/"*.ttf "$pkgdir/usr/share/fonts/TTF/"
+ install -m644 "$srcdir/${pkgname}-${pkgver}.orig/"*.otf "$pkgdir/usr/share/fonts/OTF/"
install -m644 "license" "$pkgdir/usr/share/licenses/${pkgname}/license"
}
diff --git a/ttf-ancient-fonts.install b/ttf-ancient-fonts.install
deleted file mode 100644
index 8e6e7346c45d..000000000000
--- a/ttf-ancient-fonts.install
+++ /dev/null
@@ -1,15 +0,0 @@
-post_install() {
- echo -n "Updating font cache... "
- fc-cache >/dev/null -f
- mkfontscale /usr/share/fonts/TTF
- mkfontdir /usr/share/fonts/TTF
- echo done
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}