flex bison p7zip
This commit is contained in:
1 parent
11829abb63
commit
d4741819d3
3 files changed
+96
No files matched your search
@@ -0,0 +1,31 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='p7zip'
|
||||||
|
release='1'
|
||||||
|
version='17.04'
|
||||||
|
url='https://github.com/jinfeihan57/p7zip'
|
||||||
|
description='Command-line file archiver with high compression ratio'
|
||||||
|
email='parduscix@yandex.ru'
|
||||||
|
maintainer='sulincix'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://github.com/flyfishzy/p7zip/archive/refs/tags/v$version.zip")
|
||||||
|
depends=(gcc)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('5f362f28d7f8b75d89f86065b3dba520')
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
group=(app.arch)
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make 7z 7zr 7za -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install \
|
||||||
|
DEST_DIR="${DESTDIR}" \
|
||||||
|
DEST_HOME=/usr
|
||||||
|
mv ${DESTDIR}/usr/lib{,64}
|
||||||
|
sed -i "s/lib/lib64/g" ${DESTDIR}/usr/bin/*
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='bison'
|
||||||
|
release='1'
|
||||||
|
version='3.8.2'
|
||||||
|
url='https://ftp.gnu.org/gnu/bison/'
|
||||||
|
description='The GNU general-purpose parser generator'
|
||||||
|
email='parduscix@yandex.ru'
|
||||||
|
maintainer='sulincix'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://ftp.gnu.org/gnu/bison/bison-$version.tar.xz")
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('c28f119f405a2304ff0a7ccdcc629713')
|
||||||
|
uses=()
|
||||||
|
group=(sys.devel)
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='flex'
|
||||||
|
release='1'
|
||||||
|
version='2.6.4'
|
||||||
|
url='https://github.com/westes/flex'
|
||||||
|
description='A tool for generating text-scanning programs'
|
||||||
|
email='parduscix@yandex.ru'
|
||||||
|
maintainer='sulincix'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://github.com/westes/flex/archive/refs/tags/v$version.tar.gz")
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('96828d1e36d18545b71a027caa6478dd')
|
||||||
|
uses=()
|
||||||
|
group=(sys.devel)
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
autoreconf -fvi
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install -j`nproc`
|
||||||
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user