mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
25 lines
772 B
Bash
25 lines
772 B
Bash
# Contributor: Inkane <neoinkaneglade@aol.com>
|
|
# Contributions from Arch: https://www.archlinux.org/packages/community/any/setconf/
|
|
|
|
pkgname=setconf
|
|
pkgver=0.6.2
|
|
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://$pkgname.roboticoverlords.org/$pkgname-$pkgver.tar.xz")
|
|
sha256sums=('8f91dc5cc24cc9d4f7c34fbc657259384f99d7222b6df9375bac5436d601d0c2')
|
|
|
|
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"
|
|
}
|