Created
August 22, 2017 18:36
-
-
Save aperezdc/5c2391ae49b756d120cbb7be4b7addb9 to your computer and use it in GitHub Desktop.
Arch Linux PKGBUILD for Tartan
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
# Maintainer: TingPing <tingping@tingping.se> | |
pkgname='tartan-git' | |
pkgver=0.3.0.r14.g5d9a499 | |
pkgrel=1 | |
pkgdesc='Clang analysis plugin for GLib and GNOME' | |
url='https://www.freedesktop.org/software/tartan/' | |
arch=('i686' 'x86_64') | |
provides=('tartan') | |
conflicts=('tartan') | |
license=('GPL3') | |
source=("${pkgname}::git+https://anongit.freedesktop.org/git/tartan.git") | |
depends=('llvm' 'clang' 'glib2' 'gobject-introspection') | |
makedepends=('autoconf' 'automake' 'libtool' 'intltool' 'git') | |
sha256sums=('SKIP') | |
pkgver() { | |
cd "${pkgname}" | |
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | |
} | |
build() { | |
cd "${pkgname}" | |
./autogen.sh --prefix=/usr --enable-compile-warnings=yes | |
sed -i 's|^#define NDEBUG|//|' config.h | |
make | |
} | |
package() { | |
cd "${pkgname}" | |
make install DESTDIR="${pkgdir}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment