mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 15:27:22 +08:00
33 lines
911 B
Bash
33 lines
911 B
Bash
pkgname=gammu
|
|
pkgver=1.38.0
|
|
pkgrel=1
|
|
pkgdesc="GNU All Mobile Management Utilities"
|
|
arch=('x86_64')
|
|
url="http://wammu.eu/"
|
|
license=('GPL')
|
|
depends=('bluez' 'curl' 'libmysqlclient'
|
|
'postgresql-libs' 'python2' 'libusb' 'gnutls')
|
|
makedepends=('cmake' 'doxygen' 'mysql')
|
|
optdepends=('dialog: support for the gammu-config script')
|
|
categories=('utils')
|
|
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2)
|
|
sha256sums=('b69c996b3794386e2df7b85ee3bb60377bcf028b6f265e56a44649f7af5c2b50')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
# bash completion dir change
|
|
sed -i 's,DESTINATION "/etc/bash_completion.d",DESTINATION "/usr/share/bash-completion/completions",' contrib/CMakeLists.txt
|
|
cmake . -DCMAKE_INSTALL_PREFIX="/usr"
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
mv $pkgdir/usr/lib64/* $pkgdir/usr/lib
|
|
rm -d $pkgdir/usr/lib64
|
|
}
|