История изменений
Исправление token_polyak, (текущая версия) :
Держи:
pkgname=fproxy
pkgver=83
_fclver=20231219
pkgrel=1
arch=('i686' 'x86_64' 'armv6h')
url="https://dev.m1089.ru/fproxy"
license=('BSD')
depends=('zlib' 'openssl')
source=("https://dev.m1089.ru/fproxy/files/fproxy-v$pkgver.tgz"
"https://dev.m1089.ru/fcl/files/fcl-$_fclver.tar.gz")
sha256sums=('0d53b80de47c504fb32e5b1d9985e77cda53eaaa54a65e4792db01fa7ac21e4d'
'a472449faba4754acf4ffeaf93df1989cfe5ec6fcf49c3978305ec0496211690')
build() {
export PATH="$srcdir/fcl-$_fclver/DEV/src/scripts:$PATH"
export FCLPATH="$srcdir/fcl-$_fclver/DEV"
echo $PATH
cd "$srcdir/fcl-$_fclver/DEV/src/fcl"
sh build.sh
cd "$srcdir/$pkgname-v$pkgver"
make
}
package() {
install -dm755 "$pkgdir/usr/bin"
rm -rf "$srcdir/$pkgname-v$pkgver/work/obj"
cp $srcdir/$pkgname-v$pkgver/work/* "$pkgdir/usr/bin"
install -dm755 "$pkgdir/usr/share/$pkgname"
cp -r $srcdir/$pkgname-v$pkgver/share/* "$pkgdir/usr/share/$pkgname"
}
Исходная версия token_polyak, :
Держи:
pkgname=fproxy
pkgver=83
_fclver=20231219
pkgrel=1
arch=('i686' 'x86_64' 'armv6h')
url="https://dev.m1089.ru/fproxy"
license=('GPL')
depends=('glibc')
source=("https://dev.m1089.ru/fproxy/files/fproxy-v$pkgver.tgz"
"https://dev.m1089.ru/fcl/files/fcl-$_fclver.tar.gz")
sha256sums=('0d53b80de47c504fb32e5b1d9985e77cda53eaaa54a65e4792db01fa7ac21e4d'
'a472449faba4754acf4ffeaf93df1989cfe5ec6fcf49c3978305ec0496211690')
build() {
export PATH="$srcdir/fcl-$_fclver/DEV/src/scripts:$PATH"
export FCLPATH="$srcdir/fcl-$_fclver/DEV"
echo $PATH
cd "$srcdir/fcl-$_fclver/DEV/src/fcl"
sh build.sh
cd "$srcdir/$pkgname-v$pkgver"
make
}
package() {
install -dm755 "$pkgdir/usr/bin"
rm -rf "$srcdir/$pkgname-v$pkgver/work/obj"
cp $srcdir/$pkgname-v$pkgver/work/* "$pkgdir/usr/bin"
install -dm755 "$pkgdir/usr/share/$pkgname"
cp -r $srcdir/$pkgname-v$pkgver/share/* "$pkgdir/usr/share/$pkgname"
}