summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-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 4f76a3b392f1..d9b6b5f8b79c 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 000000000000..1aace9926737
--- /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 9475da80eb8b..a450aca8e08b 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"
}