alien
LOW
maintainer isaacangello
0 votes
scanned 2026-09-27 19:19:18.915602
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: isaacangello <isaacangello@inf.ufpell.edu.br>
2
#
3
# This is the fork of alien with native Arch Linux pacman (.pkg.tar.zst)
4
# package format support, including --to-pacman, --pkg-name and --name.
5
#
6
# Note: alien Package.pm uses the Perl module namespace Alien::*
7
# but it is NOT related to the Alien::* CPAN distro for building
8
# external library dependencies.
9
10
pkgname=alien
11
pkgver=8.95.9
12
pkgrel=1
13
pkgdesc='Convert between package formats: deb, rpm, tgz, slp, pkg, lsb, and pacman (.pkg.tar.zst)'
14
arch=('any')
15
url='https://github.com/isaacangello/alien'
16
license=('GPL-2.0-or-later')
17
depends=('perl')
18
optdepends=(
19
'rpm-tools: for RPM package conversion'
20
'dpkg: for Debian package operations'
21
'fakeroot: for building packages without root'
22
'libarchive: bsdtar for pacman package handling'
23
'zstd: for .pkg.tar.zst compression'
24
)
25
conflicts=('alien_package_converter')
26
provides=('alien_package_converter')
27
source=("$pkgname-$pkgver.tar.gz::https://github.com/isaacangello/alien/archive/refs/tags/v${pkgver}-pacman1.tar.gz")
28
sha256sums=('ed234fcb447d26aa1c9a4174a685c06a0bfc8c2f46ec45d9bffcc01e70060665')
29
30
build() {
31
cd "$srcdir/alien-$pkgver-pacman1"
32
33
# INSTALLDIRS=vendor: install Perl modules to /usr/share/perl5/vendor_perl
34
# INSTALLVENDORSCRIPT=/usr/bin: install the alien binary to /usr/bin (works with sudo)
35
# The man pages are placed in the standard Arch locations.
36
# The upstream Makefile.PL does not regenerate the 'alien' script as
37
# part of the default target, so build it explicitly first.
38
perl Makefile.PL \
39
INSTALLDIRS=vendor \
40
INSTALLVENDORSCRIPT=/usr/bin \
41
INSTALLMAN1DIR=/usr/share/man/man1 \
42
INSTALLMAN3DIR=/usr/share/man/man3
43
44
make alien
45
make
46
}
47
48
package() {
49
cd "$srcdir/alien-$pkgver-pacman1"
50
make DESTDIR="$pkgdir" install
51
52
# Remove MakeMaker artifacts: pacman tracks files itself, so .packlist
53
# and perllocal.pod are unnecessary. Removing them here (rather than
54
# letting makepkg's purge do it) prevents leftover empty directories.
55
find "$pkgdir" -name '.packlist' -delete
56
find "$pkgdir" -name 'perllocal.pod' -delete
57
58
# Remove now-empty directories (MakeMaker artifacts under /usr/lib/perl5)
59
find "$pkgdir" -type d -empty -delete
60
}
61
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-27 19:19:18 | Low | 1 |