summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoses Narrow2022-10-13 13:28:00 -0500
committerMoses Narrow2022-10-13 13:28:00 -0500
commit1027fd7c237ed5bcf92a018e559af3fccfbd70b4 (patch)
tree7e936886f0676a641ccd419775e936fbb3793e93
parent6805ae0ed96240a46d67d6dd9824860873558bda (diff)
downloadaur-1027fd7c237ed5bcf92a018e559af3fccfbd70b4.tar.gz
Fix license (MIT)
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 57c2df270efc..7268d157623b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = plot-git
pkgdesc = plot on the command line
pkgver = 0.5.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/annacrombie/plot
arch = i686
arch = x86_64
@@ -14,7 +14,7 @@ pkgbase = plot-git
arch = armhf
arch = armel
arch = arm
- license = license-free
+ license = MIT
makedepends = git
makedepends = meson
makedepends = pkgconfig
diff --git a/PKGBUILD b/PKGBUILD
index b2e0eb1db9b6..67ae297b9a2a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,10 +6,10 @@ pkgdesc="plot on the command line"
#https://github.com/annacrombie/plot
_pkgpath="github.com/${_githuborg}/${_pkgname}"
pkgver=0.5.1
-pkgrel=1
+pkgrel=2
arch=( 'i686' 'x86_64' 'aarch64' 'armv8' 'armv7' 'armv7l' 'armv7h' 'armv6h' 'armhf' 'armel' 'arm' )
url="https://${_pkgpath}"
-license=('license-free')
+license=('MIT')
makedepends=('git' 'meson' 'pkgconfig' 'cmake' 'scdoc')
source=("git+${url}.git")
sha256sums=('SKIP')
@@ -37,6 +37,7 @@ install -Dm755 ${srcdir}/${_pkgname}/build/lib/libplot.so ${pkgdir}/usr/lib/libp
install -Dm755 ${srcdir}/${_pkgname}/build/cli/plot ${pkgdir}/usr/bin/${_pkgname}
install -Dm755 ${srcdir}/${_pkgname}/include/plot/plot.h ${pkgdir}/usr/include/plot/plot.h
install -Dm755 ${srcdir}/${_pkgname}/include/plot/file_input.h ${pkgdir}/usr/include/plot/file_input.h
+install -Dm644 ${srcdir}/${_pkgname}/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
_msg2() {