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

removed dependencies

This commit is contained in:
Ryan Kes 2019-03-24 14:11:46 +01:00
parent 28a18006b1
commit d367f94e1f
3 changed files with 21 additions and 6 deletions

View File

@ -8,8 +8,6 @@ pkgbase = corrupter-git
license = custom:ISC license = custom:ISC
makedepends = git makedepends = git
makedepends = go makedepends = go
depends = libx11
depends = notmuch
source = git+https://github.com/r00tman/corrupter source = git+https://github.com/r00tman/corrupter
md5sums = SKIP md5sums = SKIP

18
.gitignore vendored Normal file
View File

@ -0,0 +1,18 @@
# Created by https://www.gitignore.io/api/archlinuxpackages
# Edit at https://www.gitignore.io/?templates=archlinuxpackages
### ArchLinuxPackages ###
*.tar
*.tar.*
*.jar
*.exe
*.msi
*.zip
*.tgz
*.log
*.log.*
*.sig
pkg/
src/
corrupter/

View File

@ -6,7 +6,6 @@ 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'
depends=('libx11' 'notmuch')
makedepends=('git' 'go') makedepends=('git' 'go')
license=('custom:ISC') license=('custom:ISC')
@ -15,18 +14,18 @@ md5sums=('SKIP')
source=("git+https://github.com/r00tman/${pkgname%-git}") source=("git+https://github.com/r00tman/${pkgname%-git}")
pkgver() { pkgver() {
cd "${pkgname%-git}" cd "$srcdir"/"${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 "${pkgname%-git}" cd "$srcdir"/"${pkgname%-git}"
go build go build
} }
package() { package() {
cd "${pkgname%-git}" cd "$srcdir"/"${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"