Skip to content

Instantly share code, notes, and snippets.

@runiq
Created June 12, 2014 16:55
Show Gist options
  • Save runiq/32c78f179832776a14f1 to your computer and use it in GitHub Desktop.
Save runiq/32c78f179832776a14f1 to your computer and use it in GitHub Desktop.
python2-keyring PKGBUILD diff with keyring2 executable
--- python2-keyring/PKGBUILD 2014-03-27 01:14:38.000000000 +0100
+++ python2-keyring-new/PKGBUILD 2014-06-12 18:48:44.685878925 +0200
@@ -17,6 +17,12 @@
'kdebindings-python2: Kde integration')
md5sums=('7746c545debacf983ec1c01966cacec3')
+prepare() {
+ cd "$srcdir/keyring-$pkgver"
+ # Install executable as keyring2
+ sed -i 's/keyring=keyring\.cli:main/keyring2\=keyring.cli:main/' setup.py
+}
+
build() {
cd "$srcdir/keyring-$pkgver"
python2 setup.py build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment