You are not logged in.

#1 2025-04-16 14:42:06

Chiron8
Member
Registered: 2025-04-16
Posts: 6

Feedback on my first AUR package

I have recently created my first package and submitted it to the AUR. I would really appreciate it if you could give me some feedback on how to improve on it. The package is called writedoc and it makes file creation and organization a little bit faster and easier. Here are the links directly to the AUR and also the GitHub repo which contains a little more information.

https://github.com/Chiron8/writedoc
https://aur.archlinux.org/packages/writedoc

I created it to help me with organizing my schoolwork so I hope to be improving on it in the future!

Offline

#2 2025-04-16 14:57:13

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,622

Re: Feedback on my first AUR package

First off, you're not supposed to upload your code to the AUR. Use the source array to get it from github, and use the checksum.

The MIT license isn't in the common licenses package, it must be installed.

You seem to be targeting POSIX sh, not bash, so that's what the dep should be.

Online

#3 2025-04-16 19:51:25

Muflone
Package Maintainer (PM)
From: Italy
Registered: 2013-10-08
Posts: 142
Website

Re: Feedback on my first AUR package

What is the directory.txt file?it shouldn't exist there

Offline

#4 2025-04-16 22:41:30

loqs
Member
Registered: 2014-03-06
Posts: 18,810

Re: Feedback on my first AUR package

Is directory.txt the store for the default path under which files will be created and currently contains your home directory on your system?  Meaning it will only work as expected on your system or someone with the same home directory as you?

Offline

#5 2025-04-17 08:31:03

Chiron8
Member
Registered: 2025-04-16
Posts: 6

Re: Feedback on my first AUR package

directory.txt should be where the script gets the default directory. It was originally $HOME/Documents/, I must of accidentally changed it when testing the package. Thank you for spotting it!

Offline

#6 2025-04-17 08:34:19

Chiron8
Member
Registered: 2025-04-16
Posts: 6

Re: Feedback on my first AUR package

Scimmia wrote:

First off, you're not supposed to upload your code to the AUR. Use the source array to get it from github, and use the checksum.

The MIT license isn't in the common licenses package, it must be installed.

You seem to be targeting POSIX sh, not bash, so that's what the dep should be.

Thank you for your help! I'll try to fix that shortly.

Offline

Board footer

Powered by FluxBB