mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 22:37:13 +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.4.1
|
||
|
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=('9ec5a76cba83081b93d2aa8948db13ec')
|
||
|
|
||
|
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
|
||
|
}
|