Files
binary-repo/app/misc/hello/ympbuild
T
2022-12-06 08:08:19 +00:00

34 lines
604 B
Bash

#!/usr/bin/env bash
name='hello'
release='1'
version='2.12'
url='https://example.org'
description='Hello world Package'
email='parduscix@yandex.ru'
maintainer='sulincix'
license=('GPLv3')
source=("https://ftp.gnu.org/gnu/hello/hello-${version}.tar.gz")
depends=( )
makedepends=( )
md5sums=('SKIP')
arch=(x86_64)
group=(app.misc)
dontstrip="1"
cd $name-$version
setup(){
./configure --prefix=/usr \
--libdir=/usr/lib64/hello
}
build(){
make
}
package(){
make install
mkdir -p ${DESTDIR}/etc/ld.so.conf.d/
echo "/usr/lib64/hello/" > ${DESTDIR}/etc/ld.so.conf.d/hello.conf
}