Merge branch 'master' into 'master'
xarchiver, mousepad, fish See merge request turkman/packages/main!80
This commit is contained in:
commit
0caefdd8d0
8 files changed
+210
-3
No files matched your search
@@ -0,0 +1,37 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='unrar'
|
||||||
|
release='1'
|
||||||
|
version='6.2.6'
|
||||||
|
url='https://www.rarlab.com/rar_add.htm'
|
||||||
|
description='The RAR uncompression program'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('custom')
|
||||||
|
source=("https://www.rarlab.com/rar/unrarsrc-${version}.tar.gz")
|
||||||
|
depends=()
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('6c68f2bbcd9f06f9d37801ad4256e680')
|
||||||
|
group=(app.arch)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
#cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
sed -e '/CXXFLAGS=/d' -e '/LDFLAGS=/d' -i unrar/makefile # Use system build flags
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
cp -a unrar libunrar
|
||||||
|
export LDFLAGS+=' -pthread'
|
||||||
|
make -C libunrar lib
|
||||||
|
make -C unrar -j1
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
cd unrar
|
||||||
|
install -Dm755 unrar -t "$DESTDIR"/usr/bin/
|
||||||
|
# install license
|
||||||
|
install -Dm644 license.txt "$DESTDIR"/usr/share/licenses/$name/LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='unzip'
|
||||||
|
release='1'
|
||||||
|
version='6.0'
|
||||||
|
_version='60'
|
||||||
|
url='http://infozip.sourceforge.net/UnZip.html'
|
||||||
|
description='For extracting and viewing files in .zip archives'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('custom')
|
||||||
|
source=("https://downloads.sourceforge.net/infozip/unzip60.tar.gz" "https://www.linuxfromscratch.org/patches/blfs/svn/unzip-6.0-consolidated_fixes-1.patch")
|
||||||
|
depends=(bzip2)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('62b490407489521db863b523a7f86375' '14c119ef7019f769497363e5cec306e0')
|
||||||
|
group=(app.arch)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name$_version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
patch -Np1 -i ../unzip-6.0-consolidated_fixes-1.patch
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make -f unix/Makefile prefix=/usr generic
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make -f unix/Makefile prefix=$DESTDIR/usr install
|
||||||
|
install -Dm644 LICENSE "${DESTDIR}/usr/share/licenses/${name}/LICENSE"
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='xarchiver'
|
||||||
|
release='1'
|
||||||
|
version='0.5.4.20'
|
||||||
|
url='https://github.com/ib/xarchiver'
|
||||||
|
description='GTK+ frontend to various command line archivers'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://github.com/ib/xarchiver/archive/refs/tags/${version}.tar.gz")
|
||||||
|
depends=(gtk3 unrar p7zip gzip bzip2)
|
||||||
|
makedepends=(docbook-xsl intltool xmlto)
|
||||||
|
md5sums=('95c0e8a727faad16122d59889c105210')
|
||||||
|
group=(app.arch)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install DESTDIR=$DESTDIR $jobs
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='mousepad'
|
||||||
|
release='1'
|
||||||
|
version='0.6.0'
|
||||||
|
_version='0.6'
|
||||||
|
url='https://docs.xfce.org/apps/mousepad/start'
|
||||||
|
description='Simple text editor for Xfce'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('GPLv2')
|
||||||
|
#source=("https://gitlab.xfce.org/apps/mousepad/-/archive/mousepad-${version}/mousepad-mousepad-${version}.tar.gz")
|
||||||
|
source="https://archive.xfce.org/src/apps/mousepad/${_version}/mousepad-${version}.tar.bz2"
|
||||||
|
depends=(desktop-file-utils gtksourceview4)
|
||||||
|
makedepends=(intltool)
|
||||||
|
md5sums=('33bf0588828cc1252fa17a2312f974b1')
|
||||||
|
group=(app.editors)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make destdir=$destdir install $jobs
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='bash-completion'
|
||||||
|
release='1'
|
||||||
|
version='2.11'
|
||||||
|
url='https://github.com/scop/bash-completion'
|
||||||
|
description='Programmable Completion for bash'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://github.com/scop/bash-completion/releases/download/$version/bash-completion-2.11.tar.xz")
|
||||||
|
depends=(bash)
|
||||||
|
makedepends=()
|
||||||
|
md5sums=('2514c6772d0de6254758b98c53f91861')
|
||||||
|
group=(app.shell)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $name-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
make $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
make install $jobs
|
||||||
|
}
|
||||||
|
|
||||||
@@ -21,7 +21,7 @@ setup(){
|
|||||||
cmake -B build -S "cJSON-${version}" \
|
cmake -B build -S "cJSON-${version}" \
|
||||||
-DENABLE_CJSON_UTILS=On \
|
-DENABLE_CJSON_UTILS=On \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_INSTALL_LIBDIR=usr/lib64/
|
-DCMAKE_INSTALL_LIBDIR=lib64/
|
||||||
}
|
}
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
|
|||||||
@@ -20,8 +20,12 @@ cd pcre2-$version
|
|||||||
setup(){
|
setup(){
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--libdir=/usr/lib64 \
|
--libdir=/usr/lib64 \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
|
--enable-pcre2-16 \
|
||||||
|
--enable-pcre2-32 \
|
||||||
|
--enable-jit \
|
||||||
|
--enable-pcre2test-libreadline \
|
||||||
$(use_opt zlib --enable-pcre2grep-libz --disable-pcre2grep-libz) \
|
$(use_opt zlib --enable-pcre2grep-libz --disable-pcre2grep-libz) \
|
||||||
$(use_opt bzip2 --enable-pcre2grep-libbz2 --disable-pcre2grep-libbz2)
|
$(use_opt bzip2 --enable-pcre2grep-libbz2 --disable-pcre2grep-libbz2)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,35 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
name='gtksourceview4'
|
||||||
|
dizin='gtksourceview'
|
||||||
|
release='1'
|
||||||
|
version='4.8.4'
|
||||||
|
_version='4.8'
|
||||||
|
url='https://wiki.gnome.org/Projects/GtkSourceView'
|
||||||
|
description='A text widget adding syntax highlighting and more to GNOME'
|
||||||
|
email='akarsu@protonmail.com'
|
||||||
|
maintainer='akarsu'
|
||||||
|
license=('GPLv3')
|
||||||
|
source=("https://download.gnome.org/sources/gtksourceview/${_version}/gtksourceview-${version}.tar.xz")
|
||||||
|
depends=(gtk3 libxml2)
|
||||||
|
makedepends=(gobject-introspection)
|
||||||
|
md5sums=('2bf056caaae27654ec3a5930dd5597d3')
|
||||||
|
group=(x11.libs)
|
||||||
|
uses=()
|
||||||
|
arch=('x86_64')
|
||||||
|
|
||||||
|
cd $dizin-$version
|
||||||
|
|
||||||
|
setup(){
|
||||||
|
meson setup build --prefix=/usr \
|
||||||
|
--libdir=/usr/lib64/ \
|
||||||
|
-Ddefault_library=both
|
||||||
|
}
|
||||||
|
|
||||||
|
build(){
|
||||||
|
ninja -C build $jobs
|
||||||
|
}
|
||||||
|
|
||||||
|
package(){
|
||||||
|
ninja -C build install $jobs
|
||||||
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user