diff options
author | Darren Ng | 2021-05-02 17:44:44 +0800 |
---|---|---|
committer | Darren Ng | 2021-05-02 17:44:44 +0800 |
commit | 492412d0100aefe878fa144a66cbb7f6188f4f8d (patch) | |
tree | a3faa336512aefb23e13c4b767dedde4bf2fabf3 | |
parent | 5c934cf1e9019a5e753fa9fe158599aa0e0693c9 (diff) | |
download | aur-492412d0100aefe878fa144a66cbb7f6188f4f8d.tar.gz |
13 -> 14
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 47 |
2 files changed, 35 insertions, 20 deletions
@@ -1,13 +1,15 @@ pkgbase = genimage pkgdesc = tool to generate multiple filesystem and flash images from a tree - pkgver = 13 + pkgver = 14 pkgrel = 1 url = https://github.com/pengutronix/genimage arch = x86_64 license = GPL2 depends = confuse - source = genimage-13.tar.gz::https://github.com/pengutronix/genimage/archive/v13.tar.gz - sha256sums = c9f5c5c48a98c72d358cd18aca46e69a74c9eeaef6ee4a2497b4c1d2bee467e2 + source = genimage-14.tar.gz::https://github.com/pengutronix/genimage/archive/v14.tar.gz + source = index.html::https://github.com/pengutronix/genimage/blob/v14/README.rst + sha1sums = 043fed792abe0280b830c61765fd44870f1fdf61 + sha1sums = SKIP pkgname = genimage @@ -1,30 +1,43 @@ -# Maintainer: Darren Ng <$(base64 --decode <<<'ZGFycmVuMTk5NzA4MTBAZ21haWwuY29tCg==')> - +# Maintainer: "Darren Ng <$(base64 --decode <<<VW4xR2ZuQGdtYWlsLmNvbQo=)>" pkgname=genimage -pkgver=13 +pkgver=14 pkgrel=1 pkgdesc="tool to generate multiple filesystem and flash images from a tree" -arch=("x86_64") -url="https://github.com/pengutronix/genimage" -license=("GPL2") -depends=("confuse") - -source=("$pkgname-$pkgver.tar.gz::https://github.com/pengutronix/$pkgname/archive/v$pkgver.tar.gz") -sha256sums=('c9f5c5c48a98c72d358cd18aca46e69a74c9eeaef6ee4a2497b4c1d2bee467e2') +arch=($CARCH) +url=https://github.com/pengutronix/$pkgname +license=(GPL2) +depends=(confuse) +# https://sphinx-rtd-theme.readthedocs.io/en/stable/ +# makedepends=(python-sphinx python-sphinx_rtd_theme) +source=($pkgname-$pkgver.tar.gz::https://github.com/pengutronix/$pkgname/archive/v$pkgver.tar.gz + index.html::https://github.com/pengutronix/genimage/blob/v14/README.rst) +sha1sums=(043fed792abe0280b830c61765fd44870f1fdf61 SKIP) build() { - cd "$pkgname-$pkgver" + + cd $pkgname-$pkgver + # cp configure.ac{,\~} + # autoupdate # Corrupts ./configure + # diff -u configure.ac{\~,} ./autogen.sh - ./configure --prefix=/usr + ./configure --prefix=/usr --enable-silent-rules --disable-dependency-tracking make -} -check() { - cd "$pkgname-$pkgver" - make -k check + # https://www.sphinx-doc.org/en/master/man/sphinx-quickstart.html + # sphinx-quickstart --sep -p genimage -a "Michael Olbrich" -v 14 -r 14 -l en -d master_doc=README --ext-autodoc --ext-viewcode --ext-githubpages --no-batchfile . + # https://www.sphinx-doc.org/en/master/man/sphinx-build.html + # sphinx-build -b dirhtml -d .doctrees -n -v . ./build + } +# https://github.com/pengutronix/genimage/issues/157 +# check() { +# cd $pkgname-$pkgver +# make -k check +# } + package() { - cd "$pkgname-$pkgver" + cd $pkgname-$pkgver make DESTDIR="$pkgdir/" install + install -vdm755 "$pkgdir/usr/share/doc/$pkgname"; cp -Lv "$srcdir/index.html" "$_" } |