Skip to content

Instantly share code, notes, and snippets.

@AGWA AGWA/PKGBUILD
Created May 12, 2015

Embed
What would you like to do?
Fixed PKGBUILD for git-crypt
pkgname=git-crypt
pkgver=0.4.2
pkgrel=1
pkgdesc="Transparent file encryption in Git"
arch=('i686' 'x86_64')
url="https://www.agwa.name/projects/${pkgname}/"
license=('GPL3')
depends=('git' 'openssl')
provides=("$pkgname")
conflicts=("${pkgname}-git")
source=("https://github.com/AGWA/${pkgname}/archive/${pkgver}.tar.gz")
sha256sums=('ac363ded67b1f08d1d460a56782346cbdc6e6171d3390e3f5d3290940eb6ad86')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make PREFIX=/usr
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make PREFIX=/usr DESTDIR="${pkgdir}" install
}
@alerque

This comment has been minimized.

Copy link

alerque commented May 14, 2015

Thanks for the fixes. I've integrated these in the AUR package and bumped the package release. Just for references, 'openssl' does not need to be (and by convention should not be) listed as a dependency because git already requires it and dependencies of dependencies should not be re-listed unless there is a specific reason to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.