packaging
This commit is contained in:
1 parent
15564e2c12
commit
17f69270fd
4 files changed
+102
-1
No files matched your search
@@ -0,0 +1,36 @@
|
||||
#!/usr/bin/env bash
|
||||
name='newt'
|
||||
release='1'
|
||||
version='0.52.23'
|
||||
url='https://releases.pagure.org/newt'
|
||||
description="Redhat's Newt windowing toolkit development files"
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
maintainer='aliriza'
|
||||
license=('GPLv3')
|
||||
source=("https://releases.pagure.org/newt/newt-$version.tar.gz")
|
||||
depends=(slang popt)
|
||||
makedepends=(python)
|
||||
md5sums=('70aefeff0f3e9444a69dbdae9a931442')
|
||||
group=(dev.libs)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/
|
||||
}
|
||||
|
||||
build(){
|
||||
make $jobs
|
||||
}
|
||||
|
||||
package(){
|
||||
make install $jobs
|
||||
# move python module directory
|
||||
pyver=$(python -c 'import platform; print(".".join(platform.python_version().split(".")[0:2]))')
|
||||
mv "$DESTDIR"/usr/lib64/python$pyver/site-packages "$DESTDIR"/usr/lib64/python3
|
||||
rm -rvf "$DESTDIR"/usr/lib64/python3.*
|
||||
}
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
#!/usr/bin/env bash
|
||||
name='popt'
|
||||
release='1'
|
||||
version='1.19'
|
||||
url='https://github.com/rpm-software-management/popt'
|
||||
description='Parse Options - Command line parser'
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
maintainer='aliriza'
|
||||
license=('GPLv3')
|
||||
source=("https://github.com/rpm-software-management/popt/archive/refs/tags/popt-$version-rc1.tar.gz")
|
||||
depends=()
|
||||
makedepends=()
|
||||
md5sums=('d2e41e1338e1227826d986855344925b')
|
||||
group=()
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$name-$version-rc1
|
||||
|
||||
setup(){
|
||||
autoreconf -fvi
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/
|
||||
}
|
||||
|
||||
build(){
|
||||
make $jobs
|
||||
}
|
||||
|
||||
package(){
|
||||
make install $jobs
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ email='aliriza.keskin@pardus.org.tr'
|
||||
maintainer='aliriza'
|
||||
license=('GPLv3')
|
||||
source=("https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/archive/$version/NetworkManager-$version.tar.gz")
|
||||
depends=(libndp nss)
|
||||
depends=(libndp nss newt)
|
||||
makedepends=(libxslt gobject-introspection)
|
||||
md5sums=('9495b3b631194bdeb701acfe8240e073')
|
||||
group=(net.misc)
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
#!/usr/bin/env bash
|
||||
name='slang'
|
||||
release='1'
|
||||
version='2.3.3'
|
||||
url='https://www.jedsoft.org/releases/slang/'
|
||||
description='Multi-platform library designed to allow a developer to create robust software'
|
||||
email='aliriza.keskin@pardus.org.tr'
|
||||
maintainer='aliriza'
|
||||
license=('GPLv3')
|
||||
source=("https://www.jedsoft.org/releases/slang/slang-$version.tar.bz2")
|
||||
depends=(zlib)
|
||||
makedepends=()
|
||||
md5sums=('69015c8300088373eb65ffcc6ed4db8c')
|
||||
group=()
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
./configure --prefix=/usr \
|
||||
--libdir=/usr/lib64/
|
||||
}
|
||||
|
||||
build(){
|
||||
make $jobs
|
||||
}
|
||||
|
||||
package(){
|
||||
make install $jobs
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user