summaryrefslogtreecommitdiffstats
path: root/base/pkg-get-awk/Pkgfile
blob: 950667e33db4d3315c79b30ae870930009f5c387 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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.1
release=2
source=(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
   mkdir -p $PKG/etc
   install -m 664 pkg-get-awk.conf $PKG/etc 
   mkdir -p $PKG/usr/share/locale/en/LC_MESSAGES
   install -m 644 pkg-get.mo $PKG/usr/share/locale/en/LC_MESSAGES
}