summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIsaac Freund2020-02-14 00:49:56 +0100
committerIsaac Freund2020-02-14 00:49:56 +0100
commit1573f391ea5e59b235f8b5d70a57aee43cf60fca (patch)
treeff1f00e7703bf1d27323037982b79ed3c54a30d8
parentcfd913e56d19629f99d0d34fc95e63a041cbe7eb (diff)
downloadaur-1573f391ea5e59b235f8b5d70a57aee43cf60fca.tar.gz
Clean up and simplify code
No pkgrel bump as the produced package is identical
-rw-r--r--PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2b4c63df0d1..1516dadd829 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,12 +8,13 @@ arch=('any')
url='https://github.com/slavfox/Cozette'
license=('MIT')
depends=('fontconfig' 'xorg-font-utils')
-source=("https://github.com/slavfox/Cozette/releases/download/v.$pkgver/CozetteVector.ttf"
- "https://github.com/slavfox/Cozette/archive/v.$pkgver.tar.gz")
+source=("https://github.com/slavfox/Cozette/releases/download/v.${pkgver}/CozetteVector.ttf"
+ "https://github.com/slavfox/Cozette/archive/v.${pkgver}.tar.gz")
sha256sums=('c5f6438898c6cff1b081eb0811eb04a1dfce59125d81311f102d6e85bc1b5ba2'
'09026d3c9b68cf1ad941b8158cddee6daebd4c4bd845c853c2c9b5ed69ca4c69')
package() {
- install -D -m0644 "$srcdir/CozetteVector.ttf" "$pkgdir/usr/share/fonts/misc/CozetteVector.ttf"
- install -D -m0644 "$srcdir/Cozette-v.$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ cd "${srcdir}"
+ install -vDm 644 "CozetteVector.ttf" -t "${pkgdir}/usr/share/fonts/misc/"
+ install -vDm 644 "Cozette-v.${pkgver}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
}