summaryrefslogtreecommitdiffstats
path: root/base/pkg-get-awk/Pkgfile
blob: 166c20f614031b13f64a242a834743b7d496cccc (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_
# Depends on: gawk

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
   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
}