1
0
mirror of https://github.com/alrayyes/corrupter-arch-package synced 2023-11-14 15:56:28 +00:00

added LICENSE

This commit is contained in:
Ryan Kes 2019-03-24 15:16:51 +01:00
parent daf054bda3
commit d7658e5be7
2 changed files with 8 additions and 8 deletions

View File

@ -1,11 +1,11 @@
pkgbase = corrupter-git
pkgdesc = Simple image glitcher suitable for producing nice looking i3lock backgrounds
pkgver = r21.b8b55be
pkgver = r22.6e23db9
pkgrel = 1
url = https://github.com/r00tman/corrupter
arch = i686
arch = x86_64
license = custom:ISC
license = BSD 2-Clause
makedepends = git
makedepends = go
source = git+https://github.com/r00tman/corrupter

View File

@ -1,31 +1,31 @@
# Maintainer: Ryan Kes <alrayyes@gmail.com>
pkgname=corrupter-git
pkgver=r21.b8b55be
pkgver=r22.6e23db9
pkgrel=1
pkgdesc='Simple image glitcher suitable for producing nice looking i3lock backgrounds'
arch=('i686' 'x86_64')
url='https://github.com/r00tman/corrupter'
makedepends=('git' 'go')
license=('custom:ISC')
license=('BSD 2-Clause')
md5sums=('SKIP')
source=("git+https://github.com/r00tman/${pkgname%-git}")
pkgver() {
cd "$srcdir"/"${pkgname%-git}"
cd "${pkgname%-git}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir"/"${pkgname%-git}"
cd "${pkgname%-git}"
go build
}
package() {
cd "$srcdir"/"${pkgname%-git}"
cd "${pkgname%-git}"
install -Dm755 corrupter "${pkgdir}/usr/bin/corrupter"
# install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname%-git}/LICENSE"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname%-git}/LICENSE"
}