diff options
author | Marcel Korpel | 2018-02-16 18:31:05 +0100 |
---|---|---|
committer | Marcel Korpel | 2018-02-16 18:34:38 +0100 |
commit | 3a9322fadaa63a090291beab96ed031cfaa413df (patch) | |
tree | 57d001b7e2ab94bf38b35c5505ae9b29d078e8b1 | |
parent | 0988a13864a97326d115c4d0aa7434f545c9b168 (diff) | |
download | aur-3a9322fadaa63a090291beab96ed031cfaa413df.tar.gz |
Fix package
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 14 | ||||
-rw-r--r-- | otf.install | 20 |
3 files changed, 10 insertions, 31 deletions
@@ -1,17 +1,16 @@ # Generated by mksrcinfo v8 -# Mon Jul 11 10:13:21 UTC 2016 +# Fri Feb 16 17:32:17 UTC 2018 pkgbase = otf-raleway pkgdesc = A sans-serif typeface pkgver = 1 pkgrel = 2 url = http://theleagueofmoveabletype.com/raleway/ - install = otf.install arch = any license = OFL depends = fontconfig depends = xorg-font-utils - source = raleway.zip::http://theleagueofmoveabletype.com/raleway/download - md5sums = ff280d51659a149751a3fe194d2944b4 + source = https://github.com/theleagueof/raleway/archive/master.zip + sha256sums = f6ed3c96644d9f01f6dbe10c427b830811c0faf13127a776567ad8f9036c67d0 pkgname = otf-raleway @@ -1,4 +1,4 @@ -# Maintainer: Martin C. Doege <mdoege at compuserve dot com> +# Contributor: Martin C. Doege <mdoege at compuserve dot com> # Contributor: Martin Florén <martin.floren@gmail.com> pkgname=otf-raleway @@ -9,12 +9,12 @@ arch=('any') url="http://theleagueofmoveabletype.com/raleway/" license=('OFL') depends=('fontconfig' 'xorg-font-utils') -install=otf.install -source=(raleway.zip::'http://theleagueofmoveabletype.com/raleway/download') -md5sums=('ff280d51659a149751a3fe194d2944b4') +source=('https://github.com/theleagueof/raleway/archive/master.zip') +sha256sums=('f6ed3c96644d9f01f6dbe10c427b830811c0faf13127a776567ad8f9036c67d0') package() { - cd $startdir/src - install -Dm 644 "theleagueof-raleway-40afd9d/Raleway Thin.otf" $pkgdir/usr/share/fonts/OTF/Raleway\ Thin.otf + cd "$srcdir/raleway-master" + install -Dm644 "Raleway Thin.otf" "$pkgdir/usr/share/fonts/OTF/Raleway Thin.otf" + install -Dm644 "Open Font License.markdown" "$pkgdir/usr/share/licenses/$pkgname/Open Font License.markdown" + install -m644 "Open Font License FAQ.markdown" "$pkgdir/usr/share/licenses/$pkgname/Open Font License FAQ.markdown" } - diff --git a/otf.install b/otf.install deleted file mode 100644 index 52655ed5cff5..000000000000 --- a/otf.install +++ /dev/null @@ -1,20 +0,0 @@ -post_install() { - echo -n "Updating font cache... " - fc-cache -f > /dev/null - mkfontscale /usr/share/fonts/OTF - mkfontdir /usr/share/fonts/OTF - echo "done." -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -} - -op=$1 -shift - -$op $* |