Compare commits
5 Commits
Keyboard_0
...
master
Author | SHA1 | Date | |
---|---|---|---|
05cefd5ae0 | |||
83c0dd01df | |||
9fa098deab | |||
0cbc1b6ce0 | |||
375f124fa6 |
|
@ -1,4 +1,4 @@
|
||||||
dist=Makefile,deforaos-keyboard.desktop
|
dist=Makefile,org.defora.keyboard.desktop
|
||||||
|
|
||||||
[deforaos-keyboard.desktop]
|
[org.defora.keyboard.desktop]
|
||||||
install=$(PREFIX)/share/applications
|
install=$(PREFIX)/share/applications
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#$Id$
|
#$Id$
|
||||||
#Copyright (c) 2010-2015 Pierre Pronchery <khorben@defora.org>
|
#Copyright (c) 2010-2020 Pierre Pronchery <khorben@defora.org>
|
||||||
#
|
#
|
||||||
#Redistribution and use in source and binary forms, with or without
|
#Redistribution and use in source and binary forms, with or without
|
||||||
#modification, are permitted provided that the following conditions are met:
|
#modification, are permitted provided that the following conditions are met:
|
||||||
|
@ -25,8 +25,8 @@
|
||||||
|
|
||||||
|
|
||||||
#variables
|
#variables
|
||||||
|
CONFIGSH="${0%/gettext.sh}/../config.sh"
|
||||||
PREFIX="/usr/local"
|
PREFIX="/usr/local"
|
||||||
[ -f "../config.sh" ] && . "../config.sh"
|
|
||||||
LOCALEDIR="$PREFIX/share/locale"
|
LOCALEDIR="$PREFIX/share/locale"
|
||||||
POTFILES="POTFILES"
|
POTFILES="POTFILES"
|
||||||
PROGNAME="gettext.sh"
|
PROGNAME="gettext.sh"
|
||||||
|
@ -40,6 +40,8 @@ MSGMERGE="msgmerge"
|
||||||
RM="rm -f"
|
RM="rm -f"
|
||||||
XGETTEXT="xgettext --force-po"
|
XGETTEXT="xgettext --force-po"
|
||||||
|
|
||||||
|
[ -f "$CONFIGSH" ] && . "$CONFIGSH"
|
||||||
|
|
||||||
|
|
||||||
#functions
|
#functions
|
||||||
#debug
|
#debug
|
||||||
|
@ -112,7 +114,7 @@ _gettext_pot()
|
||||||
clean=0
|
clean=0
|
||||||
install=0
|
install=0
|
||||||
uninstall=0
|
uninstall=0
|
||||||
while getopts "ciuP:" name; do
|
while getopts "ciO:uP:" name; do
|
||||||
case "$name" in
|
case "$name" in
|
||||||
c)
|
c)
|
||||||
clean=1
|
clean=1
|
||||||
|
@ -121,6 +123,9 @@ while getopts "ciuP:" name; do
|
||||||
uninstall=0
|
uninstall=0
|
||||||
install=1
|
install=1
|
||||||
;;
|
;;
|
||||||
|
O)
|
||||||
|
export "${OPTARG%%=*}"="${OPTARG#*=}"
|
||||||
|
;;
|
||||||
u)
|
u)
|
||||||
install=0
|
install=0
|
||||||
uninstall=1
|
uninstall=1
|
||||||
|
@ -135,7 +140,7 @@ while getopts "ciuP:" name; do
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
shift $(($OPTIND - 1))
|
shift $(($OPTIND - 1))
|
||||||
if [ $# -eq 0 ]; then
|
if [ $# -lt 1 ]; then
|
||||||
_usage
|
_usage
|
||||||
exit $?
|
exit $?
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,10 +1,14 @@
|
||||||
|
vendor=Desktop
|
||||||
package=Keyboard
|
package=Keyboard
|
||||||
version=0.4.0
|
version=0.4.0
|
||||||
|
config=h,sh
|
||||||
|
|
||||||
subdirs=data,include,po,src,src/widget,tools
|
subdirs=data,include,po,src,src/widget,tools
|
||||||
config=h,sh
|
|
||||||
dist=COPYING,Makefile,README.md,config.h,config.sh
|
dist=COPYING,Makefile,README.md,config.h,config.sh
|
||||||
|
|
||||||
#dist
|
#dist
|
||||||
|
[COPYING]
|
||||||
|
install=$(PREFIX)/share/doc/$(PACKAGE)
|
||||||
|
|
||||||
[README.md]
|
[README.md]
|
||||||
install=$(PREFIX)/share/doc/Keyboard
|
install=$(PREFIX)/share/doc/$(PACKAGE)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user