summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis Janon2020-09-20 22:54:31 +0200
committerAlexis Janon2020-09-20 23:04:40 +0200
commitd7977aeb8cf4b0da90bb5b5b9af949015ef9424e (patch)
tree0ba86d454cc34cd533f826e9c8d617f66e994fb1
parentbc8adf5d714085061e03fd5d045897b1f29bf167 (diff)
downloadaur-d7977aeb8cf4b0da90bb5b5b9af949015ef9424e.tar.gz
Remove unnecessary build phase
The upstream archive provides a '.ttf' font file already, it is not necessary to decompress the woff2 font file in the build phase.
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD8
2 files changed, 2 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c42b63186962..73971582b3a7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,10 @@
pkgbase = ttf-atom-file-icons
pkgdesc = Atom file-specific icons for improved visual grepping.
pkgver = 2.1.43
- pkgrel = 1
+ pkgrel = 2
url = https://atom.io/packages/file-icons
arch = any
license = MIT
- makedepends = woff2
source = ttf-atom-file-icons-2.1.43.tar.gz::https://github.com/file-icons/atom/archive/v2.1.43.tar.gz
md5sums = 56a7657be8b518715b13845a2d33168e
diff --git a/PKGBUILD b/PKGBUILD
index 518f3b2e6250..5950240d98c3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,21 +8,15 @@ _pkgmaintainer=file-icons
_pkgdestdirname=atom-file-icons
_versionprefix=v
pkgver=2.1.43
-pkgrel=1
+pkgrel=2
pkgdesc="Atom file-specific icons for improved visual grepping."
pkgname=ttf-${_pkgdestdirname}
arch=(any)
url="https://atom.io/packages/file-icons"
license=('MIT')
-makedepends=('woff2')
source=("$pkgname-$pkgver.tar.gz::https://github.com/${_pkgmaintainer}/${_pkgsrcname}/archive/${_versionprefix}${pkgver}.tar.gz")
md5sums=('56a7657be8b518715b13845a2d33168e')
-build() {
- cd "${srcdir}/${_pkgsrcname}-${pkgver}/fonts/"
- woff2_decompress file-icons.woff2
-}
-
package() {
cd "${srcdir}/${_pkgsrcname}-${pkgver}/"
install -d $pkgdir/usr/share/fonts/TTF/