mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
24 lines
789 B
Bash
24 lines
789 B
Bash
# Contributions from Arch: https://www.archlinux.org/packages/community/any/setconf/
|
|
|
|
pkgname=setconf
|
|
pkgver=0.6.6
|
|
pkgrel=1
|
|
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")
|
|
sha512sums=('28f62b4dbc5883763cd11480ca059dd8ba120d6dfd964bbf1746ec5cb23fb0f0fd949249f77673d150cb6abd0039ff6f34d79ad744f8abcc765e0af37fbb85ff')
|
|
|
|
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"
|
|
}
|