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

View File

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