diff --git a/abuild-Reference.md b/abuild-Reference.md new file mode 100644 index 0000000..8ef6ac9 --- /dev/null +++ b/abuild-Reference.md @@ -0,0 +1,29 @@ +# Abuild cheat sheet + +| **Command** | **Usage** | +|-------------|----------------------------------------------------| +| `clean` | Remove temp build and install dirs | +| `cleancache` | Remove downloaded files | +| `cleanpkg` | Remove already built packages | +| `fetch` | Fetch sources | +| `checksum` | Generate checksum for sources and updates APKBUILD | +| `verify` | Verify checksums for sources listed in APKBUILD | +| `fetch` | Download sources | +| `unpack` | Unpack sources | +| `deps` | Installs dependencies | +| `undeps` | Removes dependencies | +| `build` | Only run build | +| `-r` | Installs missing dependencies and runs full build | + + +### Update version of a source file +* cd into the package folder +* if the name of the file changes run `abuild cleancache` +* Update the url of the source file +* Run the folloing commands to update the checksum(s) +``` +abuild clean +abuild cleancache +abuild checksum +``` +* Now run a full build with `abuild -r` \ No newline at end of file diff --git a/minisatip/APKBUILD b/minisatip/APKBUILD index 30b709e..ad9bcdf 100644 --- a/minisatip/APKBUILD +++ b/minisatip/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Bram Prieshof pkgname=minisatip -pkgver=1.3.39 +pkgver=1.3.44 pkgrel=0 pkgdesc="SATIP server" url="https://github.com/catalinii/minisatip" @@ -10,7 +10,7 @@ depends="linux-headers openssl curl" makedepends="openssl-dev openssl-libs-static" options=" !check !archcheck" -source="minisatip-$pkgver.tar.gz::https://codeload.github.com/catalinii/minisatip/tar.gz/v$pkgver +source="minisatip-src.tar.gz::https://codeload.github.com/catalinii/minisatip/tar.gz/v$pkgver minisatip.initd " @@ -30,6 +30,6 @@ package() { } sha512sums=" -aa4ad7b5697d0ab68f48948fa1981f9b38e660d1f0021bc75b1a84c828a2fb51869b42035c0e05e1fcdf3b19da6a272220c59b0348396ff6b0a63211fcb641f2 minisatip-1.3.39.tar.gz +18c4f8e669296549baa1bcf5901ca4a6fbc3a5c766e9a0eb26ae64ae242216b70226b5496a1ce08e9b6f0185b267aa38bc4a3fead14ae1df88f327f848aafa7b minisatip-src.tar.gz 970823cd26821af97bd099104b8c2b5376a21701b0e3d0e8947b6784091c4bfb179af8064d9bcfc18d9629705b5b3999d6cbfcb19bf2f4d20593d08f95e3d849 minisatip.initd " diff --git a/nut/APKBUILD b/nut/APKBUILD index d8106c1..93475db 100644 --- a/nut/APKBUILD +++ b/nut/APKBUILD @@ -16,7 +16,7 @@ pkgusers=$pkgname pkggroups=$pkgname install="$pkgname.pre-install" subpackages="$pkgname-doc $pkgname-dev $pkgname-bash-completion $pkgname-openrc" -source="https://networkupstools.org/source/${pkgver%.*}/nut-$pkgver.tar.gz +source="nut-src.tar.gz::https://networkupstools.org/source/${pkgver%.*}/nut-$pkgver.tar.gz powerfail.initd upsd.initd upsmon.initd @@ -105,7 +105,7 @@ package() { } sha512sums=" -b6f8f22318e4a4fcb8073a63132b1cb083952c665191b82a7d6765a61b859575a4b0c2ba84ed17cfb8c88d34179876d64520dd2f75f02fe8707b406da2c0821c nut-2.8.2.tar.gz +b6f8f22318e4a4fcb8073a63132b1cb083952c665191b82a7d6765a61b859575a4b0c2ba84ed17cfb8c88d34179876d64520dd2f75f02fe8707b406da2c0821c nut-src.tar.gz c32f693e9882602f847b714d2837172b18c0b2fb78cbbf95c0af43a59b3213e3241327890ae038573a9de114ab33bb43d69796c4683b5120ca49cd3174dd5f2d powerfail.initd 5fce1247815e36a0e787f28dfec215077a42b046f6ce35a5ad3cf94479dfc26303d3cf4d5f760d5851ed5273ee398572c36cd354af0645cbebc1f1560414e222 upsd.initd 32470ae473fc363131787cd57f13d40763898947d56d032790ba7f3a5eaa8038b602f7e395ca44f6c5adce8ee5ec496e30ca0eaadb3c78a38015677aea751e12 upsmon.initd