diff options
author | ekardnam | 2019-12-14 11:53:53 +0100 |
---|---|---|
committer | ekardnam | 2019-12-14 11:53:53 +0100 |
commit | fea23b44b3b7dba774cf19a1ca8807a42098c908 (patch) | |
tree | c38c17e0d34f9e432e0e01bcc75163571836a573 | |
download | aur-fea23b44b3b7dba774cf19a1ca8807a42098c908.tar.gz |
Added bmp_header_dump v1.0 to the AUR
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..83a778e62f4b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = bmp_header_dump + pkgdesc = A tool to dump BMP image headers. + pkgver = 1.0 + pkgrel = 1 + url = https://github.com/ekardnam/bmp_header_dump + arch = x86_64 + license = GPL + makedepends = rust + makedepends = git + source = bmp_header_dump-1.0.tar.gz::https://github.com/ekardnam/bmp_header_dump/archive/v1.0.tar.gz + sha1sums = 1bf5b87929db68fc79a5907efcf78892f4575e6e + +pkgname = bmp_header_dump + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fc2eed3bd71e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: ekardnam <ekardnam@autistici.org> +pkgname=bmp_header_dump +pkgver=1.0 +pkgrel=1 +pkgdesc="A tool to dump BMP image headers." +arch=('x86_64') +url="https://github.com/ekardnam/bmp_header_dump" +license=('GPL') +depends=() +makedepends=( + 'rust' + 'git' +) +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/ekardnam/bmp_header_dump/archive/v${pkgver}.tar.gz") +sha1sums=('1bf5b87929db68fc79a5907efcf78892f4575e6e') + +build() { + cd "$srcdir/$pkgname-$pkgver" + cargo build --release --locked +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin" +} + |