blob: d47a1b130d1d05e2d6edc5a9e140b346d09fad0c (
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
|
# Description: Un gestionnaire de paquets binaire pour NuTyX léger et rapide
# URL: http://www.nutyx.org
# Maintainer: NuTyX core team
# Packager: guy_
name=pkg-get-awk
version=0.3.2
release=1
source=(syn pkg-get.awk pkg-get-awk.conf pkg-get.po)
PKGMK_KEEP_LOCALES=yes
build() {
msgfmt pkg-get.po -o pkg-get.mo
mkdir -p $PKG/usr/bin
install -m 755 pkg-get.awk $PKG/usr/bin
install -m 755 syn $PKG/usr/bin/syn.awk
ln -s pkg-get.awk $PKG/usr/bin/pkg-get
mkdir -p $PKG/etc
install -m 664 pkg-get-awk.conf $PKG/etc
sed -i "s/uname-m/`uname -m`/g" $PKG/etc/pkg-get-awk.conf
ln -s pkg-get-awk.conf $PKG/etc/pkg-get.conf
mkdir -p $PKG/usr/share/locale/en/LC_MESSAGES
install -m 644 pkg-get.mo $PKG/usr/share/locale/en/LC_MESSAGES
}
|