# Maintainer: Tiago Koji Castro Shibata pkgname=archc-git pkgver=2.4.1.r71.gf0b697c pkgrel=1 pkgdesc='A powerful and modern open-source architecture description language' arch=('x86_64' 'i686') url='https://github.com/ArchC/ArchC' license=('GPL') depends=('bash') makedepends=('git' 'systemc') provides=('archc') conflicts=('archc') source=('git+https://github.com/ArchC/ArchC.git') md5sums=('SKIP') pkgver() { cd ArchC git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { cd ArchC ./autogen.sh ./configure --prefix=$pkgdir/usr make } package() { cd ArchC make install # Move configuration files to /etc mv $pkgdir/{usr/,}etc }