33 lines
557 B
Bash
33 lines
557 B
Bash
#!/usr/bin/env bash
|
|
name='libXres'
|
|
release='1'
|
|
version='1.2.2'
|
|
url='https://example.org'
|
|
description='Package libXresg'
|
|
email='bayramk@gmail.com'
|
|
maintainer='bk'
|
|
license=('GPLv3')
|
|
source=("https://www.x.org/archive/individual/lib/libXres-$version.tar.xz")
|
|
depends=(libX11 libXext xorgproto)
|
|
makedepends=()
|
|
md5sums=('66c9e9e01b0b53052bb1d02ebf8d7040')
|
|
group=(x11.libs)
|
|
uses=()
|
|
arch=('x86_64')
|
|
|
|
cd $name-$version
|
|
|
|
setup(){
|
|
./configure --prefix=/usr \
|
|
--libdir=/usr/lib64/
|
|
}
|
|
|
|
build(){
|
|
make -j`nproc`
|
|
}
|
|
|
|
package(){
|
|
make install -j`nproc`
|
|
}
|
|
|