summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Perez de Castro2019-05-23 16:16:51 +0200
committerAdrian Perez de Castro2020-04-07 03:43:44 +0300
commit903d330022cac996a201db7845914bc69ea1e625 (patch)
tree72ecdab5273c5b89507c83faf87bb301daaae5b4
parenta4aee0a91abe7911430ff9560c076367ef34aaa6 (diff)
downloadaur-903d330022cac996a201db7845914bc69ea1e625.tar.gz
Bump to version 1.3.0, modernize PKGBUILD
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD23
-rw-r--r--otf-inconsolata-lgc.install14
3 files changed, 16 insertions, 39 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9304f5742a2..be8f7e0ba49 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,16 @@
-# Generated by makepkg 4.2.0
-# Mon Jan 19 01:28:34 UTC 2015
pkgbase = otf-inconsolata-lgc
pkgdesc = Monospace font for pretty code listings and for the terminal, with Cyrillic and Greek support.
- pkgver = 1.12
- pkgrel = 3
+ pkgver = 1.3.0
+ pkgrel = 1
url = http://github.com/MihailJP/Inconsolata-LGC
- install = otf-inconsolata-lgc.install
arch = any
license = custom:OFL
- depends = fontconfig
- source = http://bohoomil.com/src/inconsolata-lgc.tar.bz2
- source = http://bohoomil.com/src/inconsolata-lgc.tar.bz2.sig
+ source = http://github.com/MihailJP/Inconsolata-LGC/releases/download/LGC-1.3.0/InconsolataLGC-OT-1.3.0.tar.xz
source = 45-inconsolata-lgc.conf
source = 90-non-tt-inconsolata-lgc.conf
- sha1sums = 933f0cf5d0f55e2e8211cb85a4698f6229573908
- sha1sums = SKIP
- sha1sums = 58a5c6d496ab66eb9a26b8625b6f2e6a491320a4
- sha1sums = 8b44fe50ceff3063acfefeafe8f1963f9fa97fc5
+ sha512sums = 3e985618b0c067d981620a461655d176a41bbef3d225d7d609b8dc9d5c04361b1df322eefab58f9620cfdff323e2bd7127c7e4f5f21f291b173a769cefa93ece
+ sha512sums = ce4aa734a2484b3dbde67da47f8a14a86753d74293309214f49b60fe13fe9b6daace94d8ba8f922dc678c04702f3a9c6d090954b90848c5794c5ce3ef91342de
+ sha512sums = 2e689ac81a9650f460748b353fa0bbdc902b1ed33ab1a39de67d4b729b09a2b7e65c896b63d03cfb8444e5babbe60a3d5b62d7fa72c9cafa765073aacff09ee8
pkgname = otf-inconsolata-lgc
diff --git a/PKGBUILD b/PKGBUILD
index 30f0d48dcad..c7b150efdfd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,24 @@
-# Maintainer: bohoomil <@zoho.com>
+# Maintainer: Adrian Perez de Castro <aperez@igalia.com>
+# Contributor: bohoomil <@zoho.com>
pkgname=otf-inconsolata-lgc
-pkgver=1.12
-pkgrel=3
-depends=('fontconfig')
+pkgver=1.3.0
+pkgrel=1
pkgdesc="Monospace font for pretty code listings and for the terminal, with Cyrillic and Greek support."
url="http://github.com/MihailJP/Inconsolata-LGC"
arch=('any')
license=('custom:OFL')
-install=$pkgname.install
-#http://github.com/MihailJP/Inconsolata-LGC
-source=(http://bohoomil.com/src/inconsolata-lgc.tar.bz2{,.sig}
+source=("${url}/releases/download/LGC-${pkgver}/InconsolataLGC-OT-${pkgver}.tar.xz"
45-inconsolata-lgc.conf
90-non-tt-inconsolata-lgc.conf)
-validpgpkeys=('A9244FB5E93F11F0E975337FAE6866C7962DDE58')
-sha1sums=('933f0cf5d0f55e2e8211cb85a4698f6229573908'
- 'SKIP'
- '58a5c6d496ab66eb9a26b8625b6f2e6a491320a4'
- '8b44fe50ceff3063acfefeafe8f1963f9fa97fc5')
+sha512sums=('3e985618b0c067d981620a461655d176a41bbef3d225d7d609b8dc9d5c04361b1df322eefab58f9620cfdff323e2bd7127c7e4f5f21f291b173a769cefa93ece'
+ 'ce4aa734a2484b3dbde67da47f8a14a86753d74293309214f49b60fe13fe9b6daace94d8ba8f922dc678c04702f3a9c6d090954b90848c5794c5ce3ef91342de'
+ '2e689ac81a9650f460748b353fa0bbdc902b1ed33ab1a39de67d4b729b09a2b7e65c896b63d03cfb8444e5babbe60a3d5b62d7fa72c9cafa765073aacff09ee8')
package(){
install -m755 -d "${pkgdir}"/usr/share/fonts/"${pkgname}"
- install -m644 *.otf "${pkgdir}"/usr/share/fonts/"${pkgname}"
+ install -m644 InconsolataLGC-OT/*.otf "${pkgdir}"/usr/share/fonts/"${pkgname}"
+ install -Dm644 InconsolataLGC-OT/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -m755 -d "${pkgdir}"/etc/fonts/conf.avail
install -m755 -d "${pkgdir}"/etc/fonts/conf.d
diff --git a/otf-inconsolata-lgc.install b/otf-inconsolata-lgc.install
deleted file mode 100644
index 5ab355ec1e6..00000000000
--- a/otf-inconsolata-lgc.install
+++ /dev/null
@@ -1,14 +0,0 @@
-post_install() {
- echo "Updating font cache..."
- fc-cache -s
- echo "Done."
-}
-
-post_upgrade() {
- post_install $1
-}
-
-post_remove() {
- post_install $1
-}
-