blob: 4611223eb149ac9dce3bbba68aafd64f3f990009 (
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: Sergio Conde <skgsergio@gmail.com>
pkgname=bsvc_etsiinf-upm
pkgver=2.1+
pkgrel=4
pkgdesc="Motorola MC68000 simulator precompiled by the Department of Architecture and Technology Information Systems (DATSI) of the School of Computer Engineers (ETSIInf) at the Technical University of Madrid (UPM)."
arch=('i686' 'x86_64')
url='http://www.datsi.fi.upm.es/docencia/Arquitectura_09/Proyecto_E_S/'
license=('custom')
depends=('tk' 'xterm')
source=(
'http://www.datsi.fi.upm.es/docencia/Arquitectura_09/Proyecto_E_S/bsvc-2.1+_Estatica.tar.gz'
)
sha256sums=(
'c2fbb5ce84d2c62584943f81a17f9dc779564bed23f60abfaafe483ac654b04f'
)
package() {
# Copy files to pkgdir
cp -R "${srcdir}"/usr "${pkgdir}"/usr
# Create links in /usr/local/bin/ for the executable binaries found in /usr/local/bsvc/bin/
mkdir "${pkgdir}"/usr/local/bin
for file in "${pkgdir}"/usr/local/bsvc/bin/*; do
if [ -f ${file} ] && [ -x ${file} ]; then
ln -s ../bsvc/bin/"$(basename ${file})" "${pkgdir}"/usr/local/bin/"$(basename ${file})"
fi
done
# Reset UI fonts and colors
echo -n > "${pkgdir}"/usr/local/bsvc/bin/UI/bsvc.ad
# Install license
install -Dm644 "${pkgdir}"/usr/local/bsvc/License.doc "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
}
|