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

initial import

This commit is contained in:
Ryan Kes 2019-03-24 13:56:14 +01:00
commit 28a18006b1
2 changed files with 50 additions and 0 deletions

17
.SRCINFO Normal file
View File

@ -0,0 +1,17 @@
pkgbase = corrupter-git
pkgdesc = Simple image glitcher suitable for producing nice looking i3lock backgrounds
pkgver = r21.b8b55be
pkgrel = 1
url = https://github.com/r00tman/corrupter
arch = i686
arch = x86_64
license = custom:ISC
makedepends = git
makedepends = go
depends = libx11
depends = notmuch
source = git+https://github.com/r00tman/corrupter
md5sums = SKIP
pkgname = corrupter-git

33
PKGBUILD Normal file
View File

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