mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 22:37:14 +08:00
29 lines
856 B
Bash
29 lines
856 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=printproto
|
|
pkgver=1.0.4
|
|
pkgrel=3
|
|
pkgdesc="X11 print extension wire protocol"
|
|
arch=(any)
|
|
license=('custom')
|
|
url="http://xorg.freedesktop.org/"
|
|
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
|
|
md5sums=('7321847a60748b4d2f1fa16db4b6ede8')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
|
|
}
|