Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / 
libewf


Commits:
49e73546 by Carl Smedstad at 2024-08-24T13:44:56+02:00
upgpkg: 20140814-1: Upstream release

https://github.com/libyal/libewf-legacy/releases/tag/20140814

PKGBUILD changes:

- Change URL & source to legacy GitHub repository:
  https://github.com/libyal/libewf-legacy.
- Use SPDX license identifier.
- Add check() function.

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,16 +1,17 @@
 pkgbase = libewf
        pkgdesc = A library for support of the Expert Witness Compression 
Format (EWF)
-       pkgver = 20140608
-       pkgrel = 7
-       url = https://github.com/libyal/libewf/
+       pkgver = 20140814
+       pkgrel = 1
+       url = https://github.com/libyal/libewf-legacy
        arch = x86_64
-       license = LGPL3
+       license = LGPL-3.0-or-later
        makedepends = fuse2
-       depends = util-linux
-       depends = zlib
+       makedepends = git
        depends = bzip2
+       depends = glibc
+       depends = zlib
        optdepends = fuse2: to be able to use ewfmount
-       source = 
https://pkgs.fedoraproject.org/repo/pkgs/libewf/libewf-20140608.tar.gz/fdf615f23937fad8e02b60b9e3e5fb35/libewf-20140608.tar.gz
-       sha256sums = 
d14030ce6122727935fbd676d0876808da1e112721f3cb108564a4d9bf73da71
+       source = 
libewf-20140814.tar.gz::https://github.com/libyal/libewf-legacy/archive/20140814.tar.gz
+       sha256sums = 
0bf0c8ccc4cce1ed1b8fbd27813fe4c84dbc10d58d4065104cf2a1d9c417dab4
 
 pkgname = libewf


=====================================
PKGBUILD
=====================================
@@ -1,30 +1,47 @@
-# Maintainer: Jaroslav Lichtblau <[email protected]>
+# Maintainer: Jaroslav Lichtblau <[email protected]>
+# Maintainer: Carl Smedstad <[email protected]>
 # Contributor: kfgz <kfgz at interia pl>
 # Contributor: Adam Wolk <netprobe at gmail dot com>
 
 pkgname=libewf
-pkgver=20140608
-pkgrel=7
+_pkgname=libewf-legacy
+pkgver=20140814
+pkgrel=1
 pkgdesc="A library for support of the Expert Witness Compression Format (EWF)"
 arch=('x86_64')
-url="https://github.com/libyal/libewf/";
-license=('LGPL3')
-makedepends=('fuse2')
-depends=('util-linux' 'zlib' 'bzip2')
+url="https://github.com/libyal/libewf-legacy";
+license=('LGPL-3.0-or-later')
+depends=(
+  'bzip2'
+  'glibc'
+  'zlib'
+)
+makedepends=(
+  'fuse2'
+  'git'
+)
 optdepends=('fuse2: to be able to use ewfmount')
-source=(https://pkgs.fedoraproject.org/repo/pkgs/libewf/libewf-20140608.tar.gz/fdf615f23937fad8e02b60b9e3e5fb35/libewf-20140608.tar.gz)
-sha256sums=('d14030ce6122727935fbd676d0876808da1e112721f3cb108564a4d9bf73da71')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha256sums=('0bf0c8ccc4cce1ed1b8fbd27813fe4c84dbc10d58d4065104cf2a1d9c417dab4')
 
-build() {
-  cd "${srcdir}"/$pkgname-$pkgver
+prepare() {
+  cd $_pkgname-$pkgver
+  ./synclibs.sh
+  ./autogen.sh
+}
 
-  CPPFLAGS="$CPPFLAGS -std=gnu89"
+build() {
+  cd $_pkgname-$pkgver
   ./configure --prefix=/usr --sysconfdir=/etc --without-openssl
   make
 }
 
-package() {
-  cd "${srcdir}"/$pkgname-$pkgver
+check() {
+  cd $_pkgname-$pkgver
+  make check
+}
 
-  make DESTDIR="${pkgdir}" install
+package() {
+  cd $_pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libewf/-/commit/49e73546b37a2dc46c9ac5028a5f1dfd8a48a6eb

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libewf/-/commit/49e73546b37a2dc46c9ac5028a5f1dfd8a48a6eb
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to