Package Details: pwninit-bin 3.3.1-1

Git Clone URL: https://aur.archlinux.org/pwninit-bin.git (read-only, click to copy)
Package Base: pwninit-bin
Description: Automate starting binary exploit challenges.
Upstream URL: https://github.com/io12/pwninit
Licenses: MIT
Conflicts: pwninit
Provides: pwninit
Submitter: io12
Maintainer: io12
Last Packager: io12
Votes: 0
Popularity: 0.000000
First Submitted: 2019-11-17 08:05 (UTC)
Last Updated: 2023-12-31 01:59 (UTC)

Latest Comments

io12 commented on 2020-10-24 09:00 (UTC)

Fixed, thanks!

orhun commented on 2020-10-20 09:55 (UTC) (edited on 2020-12-12 09:49 (UTC) by orhun)

  • pkgdesc should not self-reference. Consider removing pwninit - from it.
  • pkgrel should be 1.
  • Consider installing README.md and LICENSE (since it's MIT) along with the binary.

PKGBUILD:

# Maintainer: Benjamin Levy <blevy@protonmail.com>
pkgname=pwninit-bin
pkgver=2.2.0
pkgrel=1
provides=('pwninit')
conflicts=('pwninit')
depends=('elfutils')
arch=('x86_64')
pkgdesc="Automate starting binary exploit challenges."
license=('MIT')
url="https://github.com/io12/pwninit"
source=("${pkgname}-${pkgver}::${url}/releases/download/${pkgver}/pwninit"
        "${pkgname}-$pkgver-LICENSE::$url/raw/$pkgver/LICENSE"
        "${pkgname}-$pkgver-README.md::$url/raw/$pkgver/README.md")
sha256sums=('ac2984416f41790367759bb4c0f2a10653d7b4a31264291f71ab3199a321795e'
            '99dce9273c26ee94572b9fe715d449a300dbcc8d5914285cf3cb31110ca92019'
            '6e41b0da12f548bd88a9fc2493ad6ecf70150f8613f949c9548d9beb0ef91e1b')

package() {
  install -Dm 755 "${pkgname}-${pkgver}" -T "${pkgdir}/usr/bin/pwninit"
  install -Dm 644 "${pkgname}-$pkgver-README.md" -T "$pkgdir/usr/share/doc/${pkgname}/README.md"
  install -Dm 644 "${pkgname}-$pkgver-LICENSE" -T "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
}