add masm python-fuse upx
This commit is contained in:
parent
fa63adcaa9
commit
9518ed0bb6
15 changed files with 298 additions and 0 deletions
44
nasm/PKGBUILD
Normal file
44
nasm/PKGBUILD
Normal file
|
@ -0,0 +1,44 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=nasm
|
||||
pkgver=2.16.01
|
||||
pkgrel=01
|
||||
pkgdesc='80x86 assembler designed for portability and modularity'
|
||||
url='https://www.nasm.us'
|
||||
depends=('glibc')
|
||||
makedepends=('perl-font-ttf' 'perl-sort-versions' 'fontconfig' 'adobe-source-sans-pro-fonts'
|
||||
'ttf-liberation' 'ghostscript' 'xmlto' 'asciidoc' 'diffutils')
|
||||
source=(https://www.nasm.us/pub/nasm/releasebuilds/${pkgver}/${pkgname}-${pkgver}.tar.xz)
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
make -j1 -C test golden test diff
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
make DESTDIR="${pkgdir}" install
|
||||
install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/nasm
|
||||
}
|
||||
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
||||
arch=(x86_64)
|
||||
|
||||
license=('BSD')
|
||||
|
||||
sha256sums=(c77745f4802375efeee2ec5c0ad6b7f037ea9c87c92b149a9637ff099f162558) # nasm-2.16.01.tar.xz
|
||||
|
||||
## 62ce358b41a41e5f21bcd2de3439dfaf8622785f036e97d0441799ab1a7ea9ca nasm-2.16.01-01-x86_64.pkg.tar.lz
|
||||
|
36
nasm/PKGBUILD-arch
Normal file
36
nasm/PKGBUILD-arch
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
||||
# Contributor: Eric Bélanger <eric@archlinux.org>
|
||||
|
||||
pkgname=nasm
|
||||
pkgver=2.16.01
|
||||
pkgrel=1
|
||||
pkgdesc='80x86 assembler designed for portability and modularity'
|
||||
url='https://www.nasm.us'
|
||||
arch=('x86_64')
|
||||
license=('BSD')
|
||||
depends=('glibc')
|
||||
makedepends=('perl-font-ttf' 'perl-sort-versions' 'fontconfig' 'adobe-source-sans-pro-fonts'
|
||||
'ttf-liberation' 'ghostscript' 'xmlto' 'asciidoc' 'diffutils')
|
||||
source=(https://www.nasm.us/pub/nasm/releasebuilds/${pkgver}/${pkgname}-${pkgver}.tar.xz)
|
||||
sha512sums=('51fccb5639ce019d9c423c0f279750ffbd74c64cd41dd3b185d1aa1a1aaed79c5d3cd8d4bebbc13ee249a375ed27457ea2abde1a4dbb24d354598fffd1254833')
|
||||
b2sums=('0f7e96648e3db6fa4a8e10a89885f61cab7d79af25adbcc9d4706b3af61206c3cae024b7f873d636f5c1b2cb34ce5e7fbecc16af9b59086e9a1f49fb37c59670')
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
make -j1 -C test golden test diff
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
make DESTDIR="${pkgdir}" install
|
||||
install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/nasm
|
||||
}
|
||||
|
||||
# vim: ts=2 sw=2 et:
|
||||
ba4e5f1a64bf877625f18015a75b8b7786a83637ee113dc3af113dd29dbe2184 # PKGBUILD
|
1
nasm/clean
Normal file
1
nasm/clean
Normal file
|
@ -0,0 +1 @@
|
|||
rm -rf {src,pkg,nasm*.tar.xz}
|
10
nasm/deps
Normal file
10
nasm/deps
Normal file
|
@ -0,0 +1,10 @@
|
|||
perl-font-ttf
|
||||
perl-sort-versions
|
||||
adobe-source-sans-fonts
|
||||
ttf-liberation
|
||||
xmlto
|
||||
fontconfig
|
||||
ghostscript
|
||||
asciidoc
|
||||
|
||||
|
6
nasm/time
Normal file
6
nasm/time
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
|
||||
real 0m32.184s
|
||||
user 0m28.519s
|
||||
sys 0m4.348s
|
||||
|
35
python-fuse/PKGBUILD
Normal file
35
python-fuse/PKGBUILD
Normal file
|
@ -0,0 +1,35 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=python-fuse
|
||||
pkgver=1.0.5
|
||||
pkgrel=02
|
||||
pkgdesc="Python bindings for FUSE"
|
||||
url="https://github.com/libfuse/python-fuse"
|
||||
makedepends=('python-setuptools' 'fuse2')
|
||||
depends=('fuse2' 'python')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/libfuse/python-fuse/archive/v$pkgver.tar.gz")
|
||||
|
||||
build() {
|
||||
cd python-fuse-$pkgver
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd python-fuse-$pkgver
|
||||
python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
|
||||
}
|
||||
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
||||
arch=(x86_64)
|
||||
|
||||
license=('LGPL')
|
||||
|
||||
sha256sums=(789f26379dc9a9ab3762deec08e2ea4fc6f904588f975c3dcfa7a531c0b6153a) # python-fuse-1.0.5.tar.gz
|
||||
|
||||
## 407c700b02a4cd171b4960364b0c238166d2c60c4b9a1a702bf86f11ab4af62b python-fuse-1.0.5-02-x86_64.pkg.tar.lz
|
28
python-fuse/PKGBUILD-arch
Normal file
28
python-fuse/PKGBUILD-arch
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
||||
# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
|
||||
# Contributor: Chris Brannon <cmbrannon79@gmail.com>
|
||||
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
|
||||
# Contributor: Alexander Fehr <pizzapunk@gmail.com>
|
||||
|
||||
pkgname=python-fuse
|
||||
pkgver=1.0.5
|
||||
pkgrel=2
|
||||
arch=('x86_64')
|
||||
pkgdesc="Python bindings for FUSE"
|
||||
url="https://github.com/libfuse/python-fuse"
|
||||
license=('LGPL')
|
||||
makedepends=('python-setuptools' 'fuse2')
|
||||
depends=('fuse2' 'python')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/libfuse/python-fuse/archive/v$pkgver.tar.gz")
|
||||
sha512sums=('e0d0cc0f3dee9416eefe430119e8f2f5a9bbc88a214d36d1d23c7e1f7ce78cc977a173f6d22c05cb928715d5c657ba29738f60453323b25299dddc08d57595d2')
|
||||
|
||||
build() {
|
||||
cd python-fuse-$pkgver
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd python-fuse-$pkgver
|
||||
python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
|
||||
}
|
||||
156c95eedefbb44063fd15545a418886a0c6adc9b968c6eef5b09b6f564e0256 # PKGBUILD
|
1
python-fuse/clean
Normal file
1
python-fuse/clean
Normal file
|
@ -0,0 +1 @@
|
|||
rm -rf {src,pkg,python-fuse*.tar.gz}
|
4
python-fuse/deps
Normal file
4
python-fuse/deps
Normal file
|
@ -0,0 +1,4 @@
|
|||
fuse2
|
||||
python
|
||||
python-setuptools
|
||||
|
6
python-fuse/time
Normal file
6
python-fuse/time
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
|
||||
real 0m3.033s
|
||||
user 0m2.751s
|
||||
sys 0m0.444s
|
||||
|
63
upx/PKGBUILD
Normal file
63
upx/PKGBUILD
Normal file
|
@ -0,0 +1,63 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=upx
|
||||
pkgver=4.1.0
|
||||
pkgrel=01
|
||||
pkgdesc='Extendable, high-performance executable packer for several executable formats'
|
||||
url='https://github.com/upx/upx'
|
||||
makedepends=(cmake git perl)
|
||||
# The fixed git commits are from the upstream "upx-vendor" branches, 2023-08-08
|
||||
source=("git+$url#commit=877911313161fbf86e2688e091b8fd1657985d19" # tag: v4.1.0
|
||||
git+$url-vendor-doctest#commit=15e49a5fb7e49dd8f590d3666534b209e7212c6c
|
||||
git+$url-vendor-lzma-sdk#commit=f0b8d236c1bdf66532a198c983469da5c05593cf
|
||||
git+$url-vendor-ucl#commit=4b58d592199dc1e5db691e1a54fb0e5e9af0ecaf
|
||||
git+$url-vendor-valgrind#commit=4edff0085c968515309446620901468a4a6eee96
|
||||
git+$url-vendor-zlib#commit=6b5a26c621947e46414426313888f43603b572fa) # refs/tags/v4.1.0-upx-vendor
|
||||
##
|
||||
## Arch's -zlib ref didn't exist so it was replaced by what is found
|
||||
##
|
||||
|
||||
prepare() {
|
||||
cd $pkgname
|
||||
# set up symbolic links for the vendor repos
|
||||
for x in doctest lzma-sdk ucl valgrind zlib; do
|
||||
rm -frv vendor/$x && ln -s "$srcdir/upx-vendor-$x" vendor/$x
|
||||
done
|
||||
}
|
||||
|
||||
build() {
|
||||
make -C $pkgname \
|
||||
CHECK_WHITESPACE=/bin/true \
|
||||
CXXFLAGS_WERROR="" \
|
||||
UPX_CMAKE_CONFIG_FLAGS="-DUPX_CONFIG_DISABLE_GITREV=1" \
|
||||
UPX_LZMA_VERSION=0x465 \
|
||||
UPX_LZMADIR="$srcdir"
|
||||
}
|
||||
|
||||
check() {
|
||||
# check that the version has the proper version number and not something like "git-877911+"
|
||||
$pkgname/build/release/upx --help | grep -q "^UPX $pkgver" || exit 1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname
|
||||
install -Dm755 build/release/upx "$pkgdir/usr/bin/upx"
|
||||
install -Dm644 doc/upx.1 "$pkgdir/usr/share/man/man1/upx.1"
|
||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
|
||||
#---- arch license gpg-key & sha256sums ----
|
||||
|
||||
arch=(x86_64)
|
||||
|
||||
license=(custom GPL2)
|
||||
|
||||
sha256sums=(SKIP SKIP SKIP SKIP SKIP SKIP)
|
||||
|
||||
## b03b0c77a6f8f062776d66a70122e7e1c8943adbdbd17fdb6acc0fa1dd3cd8f0 upx-4.1.0-01-x86_64.pkg.tar.lz
|
||||
|
53
upx/PKGBUILD-arch
Normal file
53
upx/PKGBUILD-arch
Normal file
|
@ -0,0 +1,53 @@
|
|||
# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
|
||||
# Contributor: Lukas Fleischer <lfleischer@archlinux.org>
|
||||
# Contributor: Allan McRae <allan@archlinux.org>
|
||||
# Contributor: bekks <eduard.warkentin@gmail.com>
|
||||
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
|
||||
|
||||
pkgname=upx
|
||||
pkgver=4.1.0
|
||||
pkgrel=1
|
||||
pkgdesc='Extendable, high-performance executable packer for several executable formats'
|
||||
arch=(x86_64)
|
||||
url='https://github.com/upx/upx'
|
||||
license=(custom GPL2)
|
||||
makedepends=(cmake git perl)
|
||||
# The fixed git commits are from the upstream "upx-vendor" branches, 2023-08-08
|
||||
source=(
|
||||
git+$url-vendor-doctest#commit=15e49a5fb7e49dd8f590d3666534b209e7212c6c
|
||||
git+$url-vendor-lzma-sdk#commit=f0b8d236c1bdf66532a198c983469da5c05593cf
|
||||
git+$url-vendor-ucl#commit=4b58d592199dc1e5db691e1a54fb0e5e9af0ecaf
|
||||
git+$url-vendor-valgrind#commit=4edff0085c968515309446620901468a4a6eee96
|
||||
git+$url-vendor-zlib#commit=1e2d7fbf597e10396c1b3408eb3f30ee655e9fee
|
||||
"git+$url#commit=877911313161fbf86e2688e091b8fd1657985d19") # tag: v4.1.0
|
||||
b2sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname
|
||||
# set up symbolic links for the vendor repos
|
||||
for x in doctest lzma-sdk ucl valgrind zlib; do
|
||||
rm -frv vendor/$x && ln -s "$srcdir/upx-vendor-$x" vendor/$x
|
||||
done
|
||||
}
|
||||
|
||||
build() {
|
||||
make -C $pkgname \
|
||||
CHECK_WHITESPACE=/bin/true \
|
||||
CXXFLAGS_WERROR="" \
|
||||
UPX_CMAKE_CONFIG_FLAGS="-DUPX_CONFIG_DISABLE_GITREV=1" \
|
||||
UPX_LZMA_VERSION=0x465 \
|
||||
UPX_LZMADIR="$srcdir"
|
||||
}
|
||||
|
||||
check() {
|
||||
# check that the version has the proper version number and not something like "git-877911+"
|
||||
$pkgname/build/release/upx --help | grep -q "^UPX $pkgver" || exit 1
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname
|
||||
install -Dm755 build/release/upx "$pkgdir/usr/bin/upx"
|
||||
install -Dm644 doc/upx.1 "$pkgdir/usr/share/man/man1/upx.1"
|
||||
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
||||
}
|
||||
925773046d4d09a61152d8b7e17bf387916ac04777fa11f94dc56185e4d7c230 # PKGBUILD
|
1
upx/clean
Normal file
1
upx/clean
Normal file
|
@ -0,0 +1 @@
|
|||
rm -rf {src,pkg,upx*}
|
4
upx/deps
Normal file
4
upx/deps
Normal file
|
@ -0,0 +1,4 @@
|
|||
cmake
|
||||
git
|
||||
|
||||
|
6
upx/time
Normal file
6
upx/time
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
|
||||
real 0m29.829s
|
||||
user 1m27.943s
|
||||
sys 0m4.440s
|
||||
|
Loading…
Reference in a new issue