blob: 841a72a141496497d282fc7f3ab2ee5551bd4bad (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/bash
name=xorg-xproto
shortname=xorgproto
version=2018.2
revision=0
sources=(
"https://www.x.org/archive/individual/proto/${shortname}-${version}.tar.gz"
)
build_depends=(
)
depends=(
)
function prepare() {
tar xf ${shortname}-${version}.tar.gz
cd ${shortname}-${version}
}
function build() {
./configure --prefix=${_prefix}
make -j${_maxjobs}
}
function package() {
make install DESTDIR="${_pkgdir}"
}
|