summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Eklöf2021-03-20 14:38:38 +0100
committerDaniel Eklöf2021-03-20 14:38:38 +0100
commit2d439b4a1eb41194a4f689f9013bb80c29f8496b (patch)
tree767ef1f7f88cfec950942bf983da123684b7afb3
parente30473c9613a91a4bad5cd8364c46bdd30fa471e (diff)
downloadaur-2d439b4a1eb41194a4f689f9013bb80c29f8496b.tar.gz
Install license file
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 95d02aab5e2..3b94deba127 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = foot
pkgver = 1.7.0
- pkgrel = 1
+ pkgrel = 2
url = https://codeberg.org/dnkl/foot
arch = x86_64
arch = aarch64
diff --git a/PKGBUILD b/PKGBUILD
index ebe943204ca..6027ceb93bc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Daniel Eklöf <daniel at ekloef dot se>
pkgname=('foot' 'foot-terminfo')
pkgver=1.7.0 # Don’t forget to update CHANGELOG.md
-pkgrel=1
+pkgrel=2
arch=('x86_64' 'aarch64')
url=https://codeberg.org/dnkl/foot
license=(mit)
@@ -64,6 +64,7 @@ package_foot() {
cd foot
DESTDIR="${pkgdir}/" ninja -C build install
rm -rf "${pkgdir}/usr/share/terminfo"
+ install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
package_foot-terminfo() {