diff options
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 10 insertions, 16 deletions
@@ -14,4 +14,3 @@ pkgbase = folder-color-common sha256sums = SKIP pkgname = folder-color-common - @@ -14,27 +14,22 @@ _commit=e76d1d92e2d1418fa1dcd3f418a8919a2842140d source=("git+https://github.com/costales/folder-color.git#commit=$_commit") sha256sums=('SKIP') -pkgver() { - cd "$srcdir/$_pkgname" - printf "%s" "$(head -n 1 debian/changelog | cut -d'(' -f 2 | cut -d')' -f 1 | sed 's/-/./')" -} - prepare() { - cd "$srcdir/$_pkgname/install_scripts" - ./common.sh + cd "$srcdir/$_pkgname/install_scripts" + ./common.sh } build() { - cd "$srcdir/$_pkgname" - python setup.py build + cd "$srcdir/$_pkgname" + python setup.py build } package() { - cd "$srcdir/$_pkgname" - export PYTHONHASHSEED=0 - python setup.py install --root="$pkgdir" --optimize=1 --skip-build + cd "$srcdir/$_pkgname" + export PYTHONHASHSEED=0 + python setup.py install --root="$pkgdir" --optimize=1 --skip-build - # DistUtilsExtra fails to install locale files - install -d "$pkgdir/usr/share/locale" - cp -r build/mo/* "$pkgdir/usr/share/locale" + # DistUtilsExtra fails to install locale files + install -d "$pkgdir/usr/share/locale" + cp -r build/mo/* "$pkgdir/usr/share/locale" } |