Date: Sunday, February 26, 2023 @ 18:57:27
Author: antiz
Revision: 1405318
archrelease: copy trunk to community-testing-x86_64
Added:
unrar-free/repos/community-testing-x86_64/
unrar-free/repos/community-testing-x86_64/PKGBUILD
(from rev 1405317, unrar-free/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: unrar-free/repos/community-testing-x86_64/PKGBUILD (from rev 1405317,
unrar-free/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2023-02-26 18:57:27 UTC (rev 1405318)
@@ -0,0 +1,35 @@
+# Maintainer: Robin Candau <[email protected]>
+# Contributor: Bastian Germann <bastian.germann[at]gmx[dot]de>
+# Contributor: hcartiaux
+# Contributor: Chris Mann <cshclm[at]gmail[dot]com>
+
+pkgname=unrar-free
+pkgver=0.1.3
+pkgrel=5
+epoch=1
+pkgdesc="Free utility to extract files from RAR archives."
+arch=('x86_64' 'i686' 'aarch64')
+url="https://gitlab.com/bgermann/unrar-free"
+license=('GPL')
+depends=('libarchive')
+source=("${url}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('35840fe474d7139a4e1c131c9bcffbea34c358226263f2765161190387d53a68')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ autoreconf -i
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ export CFLAGS="${CFLAGS} -Wno-format-security"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm 644 README "${pkgdir}/usr/share/doc/${pkgname}/README"
+}