blob: 74391f9332329046e7a4f9b20cbb6b454e672f7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>
pkgname=menuconfig-git
pkgver=r687.2f3597f
pkgrel=1
pkgdesc='Standalone version of the mconf tool from the linux kernel'
url='https://github.com/anatol/menuconfig'
arch=(i686 x86_64)
license=(GPL2)
depends=(ncurses)
makedepends=(git gperf)
source=(git://github.com/anatol/menuconfig.git)
sha1sums=('SKIP')
pkgver() {
cd menuconfig
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd menuconfig
sed -e 's|register unsigned int len|register size_t len|' -i zconf.gperf
}
build() {
cd menuconfig
make conf mconf
}
package() {
cd menuconfig
install -m755 -d "$pkgdir/usr/bin"
install -m755 -t "$pkgdir/usr/bin" conf mconf
}
|