mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 14:57:15 +08:00
23 lines
664 B
Bash
23 lines
664 B
Bash
# $Id: PKGBUILD 50371 2009-08-25 20:16:02Z jgc $
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
pkgname=resourceproto
|
|
pkgver=1.1.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=('36b86840005c15e393c86d7075688d430ab2a11d')
|
|
|
|
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
|
|
}
|