summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Clark2016-02-10 08:42:19 -0600
committerJeffrey Clark2016-02-10 08:42:19 -0600
commit423865f5bf39d5a1c3a379ba819f2c7797ba0cad (patch)
treed5be906bfe4da0135f67b620b0d3b7e1e9541efd
parent4f0154de596d6e295138c844259fa25153c7e622 (diff)
downloadaur-423865f5bf39d5a1c3a379ba819f2c7797ba0cad.tar.gz
Add license file, update version format, bump version
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9a6c95ebfc50..8d067f5e22d6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Wed Feb 10 03:24:04 UTC 2016
+# Wed Feb 10 14:41:24 UTC 2016
pkgbase = attract-git
pkgdesc = A graphical front-end for command line emulators that hides the underlying operating system and is intended to be controlled with a joystick or gamepad.
- pkgver = 1.6.2.47
+ pkgver = 1.6.2.48.7b99b99
pkgrel = 1
url = http://www.attractmode.org/
install = attract.install
@@ -15,6 +15,7 @@ pkgbase = attract-git
depends = fontconfig
depends = libxinerama
depends = libarchive
+ provides = attract
conflicts = attract
replaces = attractmode-git
source = attract::git+https://github.com/mickelson/attract.git#branch=master
diff --git a/PKGBUILD b/PKGBUILD
index af50ca2c3b7d..a346ee13d043 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_gitname=attract
_gitbranch=master
pkgname=${_gitname}-git
-pkgver=1.6.2.47
+pkgver=1.6.2.48.7b99b99
pkgrel=1
pkgdesc="A graphical front-end for command line emulators that hides the underlying operating system and is intended to be controlled with a joystick or gamepad."
arch=('i686' 'x86_64')
@@ -25,8 +25,7 @@ sha1sums=('SKIP'
pkgver() {
cd "${_gitname}"
- tag=$(git describe --tags --abbrev=0)
- printf "%s.%s" ${tag//v} $(git rev-list --count ${tag}..HEAD)
+ printf "%s" "$(git describe --long --tags | sed 's/v//g;s/\([^-]*-\)g/\1/;s/-/./g')"
}
build() {
@@ -37,6 +36,7 @@ build() {
package() {
cd "${_gitname}"
make prefix="${pkgdir}/usr" install
+ install -Dm644 License.txt ${pkgdir}/usr/share/licenses/${_gitname}/License.txt
install -Dm644 ../ATTRACT.MODE.intro.16-9.v6.1080p.mp4 ${pkgdir}/usr/share/attract/intro/intro.mp4
install -Dm644 util/icon.png ${pkgdir}/usr/share/pixmaps/attract.png
install -Dm644 ${srcdir}/attract.desktop ${pkgdir}/usr/share/applications/attract.desktop