blob: f8261bf996b5c777b42b7fa59fd673c8e463ef83 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# Maintainer: dreieck
_pkgname=statifier
pkgname="${_pkgname}"
_pkgver=1.7.4
# epoch=0
pkgver="${_pkgver}"
pkgrel=6
pkgdesc="Create portable, self-containing Linux executables: Creates from dynamically linked executables and all it's libraries one file. Note: Does not play well with VDSO, which most modern kernels have activated."
arch=('i386' 'i486' 'i586' 'i686' 'x86_64')
url="http://statifier.sourceforge.net/"
license=('GPL2')
depends=(
'bash'
'gcc-libs'
'glibc'
)
depends_x86_64=(
'lib32-gcc-libs'
'lib32-glibc'
)
provides=(
)
replaces=(
)
conflicts=(
)
backup=(
)
# install="${_pkgname}.install"
source=(
"statifier-${_pkgver}.tar.gz::https://sourceforge.net/projects/statifier/files/statifier/${_pkgver}/statifier-${_pkgver}.tar.gz/download"
)
sha256sums=(
"c8a758ee1f3604d1c6fa755e2422ac4e741008536c9065508050da69149d9f0e"
)
# pkgver() {
# _unpackeddir="${srcdir}/${_pkgname}-${_pkgver}"
# cat "${_unpackeddir}/VERSION"
# }
build() {
_unpackeddir="${srcdir}/${_pkgname}-${_pkgver}"
cd "${_unpackeddir}"
make -j1 || make -j1 || make -j1
}
package() {
_unpackeddir="${srcdir}/${_pkgname}-${_pkgver}"
cd "${_unpackeddir}"
make DESTDIR="${pkgdir}" install
_docdir="${pkgdir}/usr/share/doc/${_pkgname}"
for _doc in AUTHORS ChangeLog FAQ INSTALL LICENSE NEWS README RELEASE THANKS TODO VERSION; do
install -Dpv -m 644 "${_unpackeddir}/${_doc}" "${_docdir}/general/${_doc}"
done
install -dv -m 755 "${_docdir}/detailed/"
cp -av "${_unpackeddir}/doc"/* "${_docdir}/detailed/"
}
|