diff --git a/libappimage/.SRCINFO b/libappimage/.SRCINFO new file mode 100644 index 0000000000..8f0ed526ea --- /dev/null +++ b/libappimage/.SRCINFO @@ -0,0 +1,26 @@ +pkgbase = libappimage + pkgdesc = Reference implementation of the AppImage specification + pkgver = 1.0.4.5 + pkgrel = 6 + url = https://appimage.org/ + arch = x86_64 + license = MIT + makedepends = boost + makedepends = cmake + makedepends = desktop-file-utils + makedepends = git + makedepends = vim + makedepends = wget + makedepends = xdg-utils-cxx + depends = boost-libs + depends = cairo + depends = gcc-libs + depends = glib2 + depends = glibc + depends = libarchive + depends = librsvg + depends = squashfuse + source = git+https://github.com/AppImage/libappimage#tag=v1.0.4-5 + sha256sums = 764b20065271769bb66fe1b5409fdfad18e6f8c9ecf8b9b8e5ca400d61327eb9 + +pkgname = libappimage diff --git a/libappimage/.nvchecker.toml b/libappimage/.nvchecker.toml new file mode 100644 index 0000000000..385e4af468 --- /dev/null +++ b/libappimage/.nvchecker.toml @@ -0,0 +1,6 @@ +[libappimage] +source = 'github' +github = 'AppImageCommunity/libappimage' +use_max_tag = true +from_pattern = 'v(\d).(\d).(\d)-(\d)' +to_pattern = '\1.\2.\3.\4' diff --git a/libappimage/PKGBUILD b/libappimage/PKGBUILD index 1a9af48182..3eee7d3edb 100644 --- a/libappimage/PKGBUILD +++ b/libappimage/PKGBUILD @@ -4,24 +4,36 @@ pkgname=libappimage pkgver=1.0.4.5 _pkgver=1.0.4-5 -pkgrel=5 +pkgrel=6 pkgdesc='Reference implementation of the AppImage specification' arch=(x86_64 powerpc64le powerpc64 powerpc riscv64) url='https://appimage.org/' -license=(GPL) -depends=(libarchive squashfuse boost-libs librsvg) -makedepends=(cmake wget vim desktop-file-utils boost xdg-utils-cxx) -source=(https://github.com/AppImage/libappimage/archive/v$_pkgver/$pkgname-$_pkgver.tar.gz - https://github.com/AppImageCommunity/libappimage/commit/1e0515b2.patch) -sha256sums=('2c4e18860a790c5959da6eb064cbd07f165fe6a9b15989491a3a3f176d06af31' - 'd82b2519ba25a6a8a7743cc738a8c8e61cd49cfaca134741024a32f6cc5007ac') +license=(MIT) +depends=(boost-libs + cairo + gcc-libs + glib2 + glibc + libarchive + librsvg + squashfuse) +makedepends=(boost + cmake + desktop-file-utils + git + vim + wget + xdg-utils-cxx) +source=(git+https://github.com/AppImage/libappimage#tag=v$_pkgver) +sha256sums=('764b20065271769bb66fe1b5409fdfad18e6f8c9ecf8b9b8e5ca400d61327eb9') prepare() { - patch -d $pkgname-$_pkgver -p1 < 1e0515b2.patch # Fix build with GCC 13 + cd $pkgname + git cherry-pick -n 1e0515b2 # Fix build with GCC 13 } build() { - cmake -B build -S $pkgname-$_pkgver \ + cmake -B build -S $pkgname \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_C_FLAGS="$CFLAGS -ffat-lto-objects" \ -DUSE_SYSTEM_XZ=ON \ @@ -35,4 +47,5 @@ build() { package() { DESTDIR="$pkgdir" cmake --install build + install -Dm644 $pkgname/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname }