mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
6ebde54b0b
While compiling a rebuilt version of SuperTuxKart, setconf failed because of trying to use python22.
26 lines
825 B
Bash
26 lines
825 B
Bash
# Maintainer: Jeff Huang <s8321414[at]gmail[dot]com>
|
|
# Contributor: Inkane <neoinkaneglade@aol.com>
|
|
# Contributions from Arch: https://www.archlinux.org/packages/community/any/setconf/
|
|
|
|
pkgname=setconf
|
|
pkgver=0.6.4
|
|
pkgrel=2
|
|
pkgdesc="A utility to easily change settings in Makefiles and other configuration files"
|
|
arch=('x86_64')
|
|
url="http://setconf.roboticoverlords.org/"
|
|
license=('GPL')
|
|
depends=('python2')
|
|
source=("http://setconf.roboticoverlords.org/$pkgname-$pkgver.tar.xz")
|
|
sha256sums=('c2bc02c0b787afacf9fffc9bd5d24aa623e140daee1e056f1c6d97dcf6bea88a')
|
|
|
|
prepare() {
|
|
sed -i 's:usr/bin/python$:usr/bin/python2:' "$pkgname-$pkgver/$pkgname.py"
|
|
}
|
|
|
|
package() {
|
|
cd "$pkgname-$pkgver"
|
|
|
|
install -Dm755 "$pkgname.py" "$pkgdir/usr/bin/$pkgname"
|
|
install -Dm644 "$pkgname.1.gz" "$pkgdir/usr/share/man/man1/$pkgname.1.gz"
|
|
}
|