summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Fontenelle2018-11-07 07:41:27 -0200
committerRafael Fontenelle2018-11-07 07:41:27 -0200
commit53d4ebacbe61c6bb52043d4374a2f09810634c8c (patch)
tree0e0e16f2bb8becf47bc5adbd379669f7fdab7e4b
parenta55e8d9b26b9167625bd79f28ff3a54e62948f4b (diff)
downloadaur-53d4ebacbe61c6bb52043d4374a2f09810634c8c.tar.gz
Include license
-rw-r--r--.SRCINFO4
-rw-r--r--.gitignore20
-rw-r--r--PKGBUILD4
3 files changed, 24 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4f76a3b392f..d9b6b5f8b79 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Sun Dec 10 15:47:58 UTC 2017
pkgbase = teeworlds-git
pkgdesc = Multiplayer 2D shooter
- pkgver = 0.7.788.g16965e4b
+ pkgver = 0.7.0.86.gbc481d4c
pkgrel = 1
url = http://teeworlds.com
arch = x86_64
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..1aace992673
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,20 @@
+# ignore everything ...
+*
+
+# ... except itself
+!.gitignore
+
+# ... except changes in package
+!PKGBUILD
+!.SRCINFO
+
+# ... except possible source files
+!*.patch
+!*.diff
+!*.desktop
+!*.png
+!LICENSE
+
+# ... except files from PKGBUILD fields
+!*.changelog
+!*.install
diff --git a/PKGBUILD b/PKGBUILD
index 9475da80eb8..a450aca8e08 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Maintainer: Rafael Fontenelle <rafaelff@gnome.org>
pkgname=teeworlds-git
-pkgver=0.7.788.g16965e4b
+pkgver=0.7.0.86.gbc481d4c
pkgrel=1
pkgdesc='Multiplayer 2D shooter'
arch=('x86_64')
@@ -56,4 +56,6 @@ package() {
install -m644 other/teeworlds.appdata.xml "$pkgdir/usr/share/appdata/"
install -m644 other/teeworlds.desktop "$pkgdir/usr/share/applications/"
install -m644 ../teeworlds-0.png "$pkgdir/usr/share/pixmaps/teeworlds.png"
+
+ install -Dm644 license.txt "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
}