forked from xoreos/xoreos-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Builds xoreos-tools from the git repository.
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Maintainer: Sven Hesse <[email protected]> | ||
|
||
pkgname=xoreos-tools-git | ||
_gitname=xoreos-tools | ||
pkgver=0.0.1.r29.g70f3ec4 | ||
pkgrel=1 | ||
pkgdesc="Tools to help with xoreos development" | ||
arch=('i686' 'x86_64') | ||
url="https://xoreos.org/" | ||
license=('GPL3') | ||
depends=('zlib') | ||
makedepends=() | ||
source=('git://github.com/xoreos/xoreos-tools.git') | ||
md5sums=('SKIP') | ||
|
||
pkgver() { | ||
cd "$srcdir/$_gitname" | ||
|
||
git describe --long --match desc/\* | cut -d '/' -f 2- | sed -e 's/\(.*\)-\([^-]*\)-\([^-]*\)/\1.r\2.\3/' | ||
} | ||
|
||
build() { | ||
cd "$srcdir/$_gitname" | ||
|
||
./autogen.sh | ||
./configure --with-release=xArch --with-lto --prefix=/usr | ||
make | ||
} | ||
|
||
package() { | ||
cd "$srcdir/$_gitname" | ||
|
||
make DESTDIR="$pkgdir/" install | ||
} |