From d367f94e1f6b3e8a36b1efb5589494a4fed58f86 Mon Sep 17 00:00:00 2001 From: Ryan Kes Date: Sun, 24 Mar 2019 14:11:46 +0100 Subject: [PATCH] removed dependencies --- .SRCINFO | 2 -- .gitignore | 18 ++++++++++++++++++ PKGBUILD | 7 +++---- 3 files changed, 21 insertions(+), 6 deletions(-) create mode 100644 .gitignore diff --git a/.SRCINFO b/.SRCINFO index 2d06fd2..8f5bc49 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -8,8 +8,6 @@ pkgbase = corrupter-git license = custom:ISC makedepends = git makedepends = go - depends = libx11 - depends = notmuch source = git+https://github.com/r00tman/corrupter md5sums = SKIP diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..986a577 --- /dev/null +++ b/.gitignore @@ -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/ diff --git a/PKGBUILD b/PKGBUILD index 0168c75..83b9db2 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,7 +6,6 @@ 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') @@ -15,18 +14,18 @@ md5sums=('SKIP') source=("git+https://github.com/r00tman/${pkgname%-git}") pkgver() { - cd "${pkgname%-git}" + cd "$srcdir"/"${pkgname%-git}" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { - cd "${pkgname%-git}" + cd "$srcdir"/"${pkgname%-git}" go build } package() { - cd "${pkgname%-git}" + cd "$srcdir"/"${pkgname%-git}" install -Dm755 corrupter "${pkgdir}/usr/bin/corrupter" # install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname%-git}/LICENSE"