blob: 1238382bfddb177ffb0de0970ec425e740fabe79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Contributor: <sirocco@ngs.ru>
pkgname=runzip
pkgver=1.4
pkgrel=1
pkgdesc="Convert filenames inside ZIP archives from autodetected older Russian encodings (koi8-r, koi8-u, cp866, windows-1251) to UTF-8"
arch=(i686 x86_64)
url="https://github.com/vlm/zip-fix-filename-encoding/releases"
license=(custom)
depends=('zlib')
source=("https://github.com/vlm/zip-fix-filename-encoding/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz"
"https://raw.githubusercontent.com/vlm/zip-fix-filename-encoding/master/LICENSE")
sha256sums=('e3efc83744067815bb920df6aa706b87b2985dd6eccc9f76a9d9f668ddc8d44d'
'97a5e3ed2793a375b322a690be0cae61a76f013c5b28124e71ee25694ce3f25c')
build() {
cd ${pkgname}-${pkgver}
./configure
make
}
package() {
cd ${pkgname}-${pkgver}
#make install DESTDIR="${pkgdir}"/usr/bin/
install -Dm755 src/"${pkgname}" "${pkgdir}"/usr/bin/"${pkgname}"
install -Dm644 ../LICENSE $pkgdir/usr/share/licenses/"${pkgname}"/LICENSE
}
|