diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-11-02 11:33:44 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2020-11-02 11:49:44 +0100 |
commit | 072890e9b0ec5af1b28b3c1b213554c5b16ab50e (patch) | |
tree | 2d5eeb6bd59601516c9e3d39c93aa932e95a2267 /packages/PKGBUILD | |
parent | 7c4b2a289cab34e4ec1b966663530a7babf08707 (diff) |
Backport changes to package scripts
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'packages/PKGBUILD')
-rw-r--r-- | packages/PKGBUILD | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/packages/PKGBUILD b/packages/PKGBUILD new file mode 100644 index 0000000..e7152bb --- /dev/null +++ b/packages/PKGBUILD @@ -0,0 +1,82 @@ +# -*- sh -*- + +# Maintainer: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org> +# Contributor: + +pkgname=('squashfs-tools-ng' 'squashfs-tools-ng-doc') +pkgver=1.0.2 +pkgrel=1 +epoch= +pkgdesc="New set of tools for working with SquashFS images." +url="https://github.com/AgentD/squashfs-tools-ng" +license=('GPL3') +arch=('x86_64') +groups=() +makedepends=( + 'fakeroot' + 'binutils' + 'autoconf' + 'automake' + 'autogen' + 'libtool' + 'pkgconf' + 'm4' + 'make' + 'gcc' + 'doxygen') +# +depends=('zstd' 'lzo' 'attr') +checkdepends=() +optdepends=('squashfs-tools') +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=("https://github.com/AgentD/squashfs-tools-ng/archive/v$pkgver/$pkgname-$pkgver.tar.gz") +noextract=() + +## Generated using: makepkg -g PKGBUILD +md5sums=('7e78c57513d58e374afc60c000032fa7') +sha1sums=('a50a7d2aa31b71b22de4297e23e5f68e5fc8c0e1') +sha224sums=('43abdd9552b3872380387b5dadfd44e8e7dbd8cab1772bef83dea7b7') +sha256sums=('5eb0e3faaba6cef92e0c03b13b9965e744d8eb5291db5b118970d4c34eeaec8c') +sha384sums=('47f589f7b6c82d39c404e67888045beca5062b595766b294d337ea0c8e026d063b58b7b4e83fd81cea0ea48fec1c2545') +sha512sums=('409cec3c932ad0653958746b07371ce19979cd53f9f38482243bc425a08ca62c79c5560a03c0c7d0560bb04234dab7a94a60bbe1a1ed7497f3afcec744e2fda6') +b2sums=('c2a48909dd9cac89a45cc468735b24f842a8466629ad75f523c1db736fe51036c96bcb46a2b351aa24753028a88ea5efa56aab3ca87efdd339e6d58a0b92abd9') + +validpgpkeys=() + +prepare() { + cd "$pkgname-$pkgver" +} + +build() { + cd "$pkgname-$pkgver" + ./autogen.sh + ./configure --prefix=/usr + make + make doxygen-doc +} + +check() { + cd "$pkgname-$pkgver" + make -k check +} + +package_squashfs-tools-ng() { + #depends=('zstd' 'attr' 'zlib' 'xz' 'lzo' ) + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} + +package_squashfs-tools-ng-doc() { + arch=('any') + optdepend=() + depends=() + cd "$pkgbase-$pkgver" + install -d "$pkgdir/usr/share/doc/$pkgbase" + cp -a doxygen-doc/* "$pkgdir/usr/share/doc/$pkgbase" +} |