mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 04:54:38 +08:00
24 lines
631 B
Bash
24 lines
631 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
|
|
pkgname=resourceproto
|
|
pkgver=1.2.0
|
|
pkgrel=1
|
|
pkgdesc="X11 Resource extension wire protocol"
|
|
arch=(any)
|
|
url="http://xorg.freedesktop.org/"
|
|
license=('custom')
|
|
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
|
|
sha1sums=('9ff9bb9243b0474330959dc3853973523c9dd9ce')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr
|
|
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
|
|
}
|