33 lines
529 B
Bash
33 lines
529 B
Bash
#!/usr/bin/env bash
|
|
name='libdmx'
|
|
release='1'
|
|
version='1.1.4'
|
|
url='https://example.org'
|
|
description='Package libdmx'
|
|
email='bayramkk@gmail.com'
|
|
maintainer='bk'
|
|
license=('GPLv3'
|
|
source=("https://www.x.org/archive/individual/lib/libdmx-$version.tar.gz")
|
|
depends=()
|
|
makedepends=()
|
|
md5sums=('bf40bddfe658d224a5574ea249583f9e')
|
|
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`
|
|
}
|
|
|