desktop/libmowgli/PKGBUILD

25 lines
653 B
Bash
Raw Normal View History

2014-07-16 03:42:45 +08:00
pkgname=libmowgli
2016-09-18 16:58:56 +08:00
_pkgname=libmowgli-2
pkgver=2.1.0
pkgrel=1
2014-07-16 03:42:45 +08:00
pkgdesc='Performance and usability-oriented extensions to C'
url='http://www.atheme.org/project/mowgli'
license=('custom')
arch=('x86_64')
depends=('openssl')
makedepends=('git')
2016-09-18 16:58:56 +08:00
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/atheme/libmowgli-2/archive/v${pkgver}.tar.gz")
sha256sums=('46ef60c642c457a5d0e36bfc8c277e74d2ebf4ab9cbc4e40153781ed4ab0fe7d')
2014-07-16 03:42:45 +08:00
build() {
2016-09-18 16:58:56 +08:00
cd ${_pkgname}-${pkgver}
2014-07-16 03:42:45 +08:00
./configure --prefix=/usr
make
}
package() {
2016-09-18 16:58:56 +08:00
cd ${_pkgname}-${pkgver}
2014-07-16 03:42:45 +08:00
make DESTDIR="${pkgdir}" install
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}