mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 21:57:17 +08:00
30 lines
1015 B
Bash
30 lines
1015 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=drumstick
|
|
pkgver=0.5.0
|
|
pkgrel=1
|
|
pkgdesc="C++ wrapper around the ALSA library sequencer interface, using Qt4 objects, idioms and style."
|
|
url="http://drumstick.sourceforge.net/"
|
|
license="GPL"
|
|
arch=('i686' 'x86_64')
|
|
depends=('qt' 'alsa-lib' 'doxygen' 'shared-mime-info' 'docbook-xsl' 'hicolor-icon-theme')
|
|
makedepends=('cmake' 'automoc4')
|
|
source=(http://downloads.sourceforge.net/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
|
|
md5sums=('d2052edbae3dee6ea4c920d5c6095faa')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
|
|
make
|
|
make DESTDIR=${pkgdir} install
|
|
[ ${CARCH} = 'x86_64' ] && mv ${pkgdir}/usr/lib64 ${pkgdir}/usr/lib
|
|
return 0
|
|
}
|