mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
34 lines
817 B
Bash
34 lines
817 B
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# Maintainer: Weng Xuetian <wengxt@gmail.com>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=libpinyin
|
|
pkgver=0.9.93
|
|
pkgrel=1
|
|
pkgdesc="Library to deal with pinyin."
|
|
arch=('i686' 'x86_64')
|
|
url="https://github.com/libpinyin/libpinyin"
|
|
license=('GPL')
|
|
depends=('db')
|
|
makedepends=('automake' 'libtool' 'autoconf')
|
|
options=(!libtool)
|
|
|
|
source=("https://github.com/libpinyin/libpinyin/archive/${pkgver}.tar.gz")
|
|
|
|
build() {
|
|
cd ${srcdir}/libpinyin-$pkgver
|
|
|
|
aclocal && libtoolize --force && autoheader && automake -a && autoconf
|
|
(./configure --prefix=/usr && make) || return 1
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/libpinyin-$pkgver
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
}
|
|
md5sums=('5d7391267780f1a585b4c08c56929ec7')
|