Skip to content

Instantly share code, notes, and snippets.

@AGWA
Created May 12, 2015 05:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AGWA/4ee120dcec01ae3d690f to your computer and use it in GitHub Desktop.
Save AGWA/4ee120dcec01ae3d690f to your computer and use it in GitHub Desktop.
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
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