summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Li2021-11-26 20:44:44 -0500
committerRaymond Li2021-11-26 20:44:44 -0500
commitb563cfd86aa7126811feb4dd039522d8bc28c04e (patch)
tree59c7c5772134b59052acc8beec9ef6c38205a8fa
parent23c9e59eabf53bc2a3a50fb794ddcf07da64e113 (diff)
downloadaur-b563cfd86aa7126811feb4dd039522d8bc28c04e.tar.gz
Restore LICENSE
-rw-r--r--.SRCINFO2
-rw-r--r--LICENSE20
-rw-r--r--PKGBUILD4
3 files changed, 25 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d8c59a202d57..15020f9b8f3c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,8 +7,10 @@ pkgbase = jflap2tikz
license = custom
depends = groovy
source = http://mirrors.ctan.org/graphics/jflap2tikz.zip
+ source = LICENSE
source = jflap2tikz.sh
sha256sums = 625264995030491208857f370715e328b03b388f16d60e4c381c1df3519da141
+ sha256sums = 362a0f90a53c27370b7685c940082ba7941f487a7aeb87aab8882a1094db7e3a
sha256sums = dd5cf8ffd83daf560fe1399ce27bcffbc02b14e810f5f0935b40b17cd27c1449
pkgname = jflap2tikz
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 000000000000..31aa7129042a
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,20 @@
+Copyright (c) 2009, 2014, 2015 Andrew Mertz and William Slough
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
index 197b2724bcf7..8f12e5c87656 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,16 +9,18 @@ url="https://www.ctan.org/pkg/jflap2tikz?lang=en"
license=('custom')
depends=('groovy')
source=("http://mirrors.ctan.org/graphics/${pkgname}.zip"
+ "LICENSE"
"jflap2tikz.sh")
sha256sums=('625264995030491208857f370715e328b03b388f16d60e4c381c1df3519da141'
+ '362a0f90a53c27370b7685c940082ba7941f487a7aeb87aab8882a1094db7e3a'
'dd5cf8ffd83daf560fe1399ce27bcffbc02b14e810f5f0935b40b17cd27c1449')
package() {
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -D -m755 jflap2tikz.sh "${pkgdir}/usr/bin/jflap2tikz"
cd "$pkgname"
install -D "$pkgname".groovy "$pkgdir"/usr/lib/"$pkgname"/"$pkgname".groovy
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -d "$pkgdir"/usr/share/doc/"$pkgname"
cp -r examples "$pkgdir"/usr/share/doc/"$pkgname"/examples
install CHANGES "$pkgdir"/usr/share/doc/"$pkgname"/CHANGES