cpp-utilities/pkgbuild/default/PKGBUILD

28 lines
760 B
Bash
Raw Normal View History

2015-04-29 21:34:23 +02:00
# Maintainer: Martchus <martchus@gmx.net>
2015-04-22 18:36:40 +02:00
pkgname=c++utilities
2015-06-07 00:08:09 +02:00
pkgver=1.0.6
2015-04-22 18:36:40 +02:00
pkgrel=1
arch=('i686' 'x86_64')
2015-04-29 21:34:23 +02:00
pkgdesc="Common C++ classes and routines used by my applications such
as argument parser, IO and conversion utilities."
2015-04-22 18:36:40 +02:00
license=('GPL')
depends=('qt5-base')
makedepends=
2015-04-29 21:34:23 +02:00
url="https://github.com/Martchus/cpp-utilities"
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Martchus/cpp-utilities/archive/v${pkgver}.tar.gz")
2015-04-30 00:57:10 +02:00
_reponame=cpp-utilities
2015-04-29 21:34:23 +02:00
sha256sums=('4e94aff9225d8873f752995c1bcc5f15')
2015-04-22 18:36:40 +02:00
# head end
2015-04-29 21:34:23 +02:00
2015-04-22 18:36:40 +02:00
build() {
2015-04-30 00:57:10 +02:00
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
2015-04-22 18:36:40 +02:00
INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro" -r -spec linux-g++
make
}
package() {
2015-04-30 00:57:10 +02:00
cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
2015-04-22 18:36:40 +02:00
make install
}